From 293e82c88ffadafc07f7687e9d915188773352da Mon Sep 17 00:00:00 2001 From: Hays Chan <25737801+hayschan@users.noreply.github.com> Date: Tue, 4 Jun 2024 09:48:27 +0800 Subject: [PATCH] chore: Update build and test workflow configuration to set Wokwi Token as GitHub environment secret --- .github/workflows/build_and_test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 6de4d85..7a28f58 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -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 @@ -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 }} \