Skip to content

Commit 6157e06

Browse files
committed
Merge branch 'master' into ci/tests_refactor
2 parents ec79f67 + 727689a commit 6157e06

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ on:
66
schedule:
77
- cron: '0 2 * * *'
88

9-
env:
10-
WORKFLOW_REF: ${{ github.event.pull_request.number || github.ref }}
11-
129
concurrency:
1310
group: tests-${{ github.event.pull_request.number || github.ref }}
1411
cancel-in-progress: true
@@ -24,7 +21,7 @@ jobs:
2421
with:
2522
chip: ${{matrix.chip}}
2623
type: "validation"
27-
ref: ${{ env.WORKFLOW_REF }}
24+
ref: ${{ github.event.pull_request.number || github.ref }}
2825

2926
call-build-performance-tests:
3027
uses: ./.github/workflows/build_tests.yml
@@ -38,7 +35,7 @@ jobs:
3835
with:
3936
chip: ${{matrix.chip}}
4037
type: "performance"
41-
ref: ${{ env.WORKFLOW_REF }}
38+
ref: ${{ github.event.pull_request.number || github.ref }}
4239

4340
call-hardware-tests:
4441
uses: ./.github/workflows/hw.yml
@@ -54,7 +51,7 @@ jobs:
5451
with:
5552
chip: ${{matrix.chip}}
5653
type: ${{matrix.type}}
57-
ref: ${{ env.WORKFLOW_REF }}
54+
ref: ${{ github.event.pull_request.number || github.ref }}
5855

5956
# call-wokwi-tests:
6057
# uses: espressif/arduino-esp32/.github/workflows/wokwi.yml@master
@@ -67,7 +64,7 @@ jobs:
6764
# with:
6865
# chip: ${{matrix.chip}}
6966
# type: "validation"
70-
# ref: ${{ env.WORKFLOW_REF }}
67+
# ref: ${{ github.event.pull_request.number || github.ref }}
7168
# secrets:
7269
# WOKWI_CLI_TOKEN: ${{ secrets.WOKWI_CLI_TOKEN }}
7370

@@ -82,4 +79,4 @@ jobs:
8279
# with:
8380
# chip: ${{matrix.chip}}
8481
# type: "validation"
85-
# ref: ${{ env.WORKFLOW_REF }}
82+
# ref: ${{ github.event.pull_request.number || github.ref }}

0 commit comments

Comments
 (0)