Skip to content

Commit 5477ac1

Browse files
committed
Merge branch 'master' into ci/tests_refactor
2 parents 43952d3 + aa8fd3e commit 5477ac1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/wokwi.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@ name: Wokwi tests
22

33
on:
44
workflow_call:
5+
secrets:
6+
WOKWI_CLI_TOKEN:
7+
description: 'Wokwi CLI API token'
8+
required: true
59

610
concurrency:
711
group: tests-wokwi-${{ github.event.pull_request.number || github.ref }}
812
cancel-in-progress: true
913

1014
env:
1115
WOKWI_TIMEOUT: 600000 # Milliseconds
12-
WOKWI_CLI_TOKEN: ${{ secrets.WOKWI_CLI_TOKEN }}
1316

1417
jobs:
1518
wokwi-test:
@@ -75,6 +78,8 @@ jobs:
7578
7679
- name: Run Tests
7780
if: steps.check-tests.outputs.enabled == 'true'
81+
env:
82+
WOKWI_CLI_TOKEN: ${{ secrets.WOKWI_CLI_TOKEN }}
7883
run: |
7984
bash .github/scripts/tests_run.sh -c -t ${{matrix.chip}} -i 0 -m 1 -W ${{env.WOKWI_TIMEOUT}}
8085

0 commit comments

Comments
 (0)