Skip to content

Commit

Permalink
chore: Update build and test workflow configuration to set Wokwi Toke…
Browse files Browse the repository at this point in the history
…n as GitHub environment secret
  • Loading branch information
hayschan committed Jun 4, 2024
1 parent aa1574f commit 293e82c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ jobs:
run: |
. $IDF_PATH/export.sh
python -m pip install idf-build-apps
- name: Set Wokwi Token (GitHub environment secret `WOKWI_CLI_TOKEN`)
run: echo "WOKWI_CLI_TOKEN=${{ secrets.WOKWI_CLI_TOKEN }}" >> $GITHUB_ENV
- name: Build Test Application with ESP-IDF
run: |
. $IDF_PATH/export.sh
Expand Down Expand Up @@ -84,6 +82,8 @@ jobs:
name: built_binaries_${{ matrix.target }}_${{ matrix.idf-branch }}
- name: Install Python packages for PyTest
run: pip install -r requirements.txt
- name: Set Wokwi Token (GitHub environment secret `WOKWI_CLI_TOKEN`)
run: echo "WOKWI_CLI_TOKEN=${{ secrets.WOKWI_CLI_TOKEN }}" >> $GITHUB_ENV
- name: Run Test App in WokWi Simulator
run: |
pytest ${{ env.test_dirs }} \
Expand Down

0 comments on commit 293e82c

Please sign in to comment.