Skip to content

Commit

Permalink
fix(modem): workaround to use node16 with checkoutv3
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cermak committed Nov 29, 2024
1 parent 0f258c2 commit f0e883e
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/modem__target-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,21 +64,22 @@ jobs:
idf_target: "esp32s2"
test: { app: usb_a7670_s2, path: examples/pppos_client }
needs: build_esp_modem_tests
runs-on:
- self-hosted
- modem
runs-on: [self-hosted, modem]
container:
image: python:3.11-bookworm
options: --privileged # Privileged mode has access to serial ports
env:
TEST_DIR: components/esp_modem/${{ matrix.test.path }}
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
steps:
- name: Clear repository
run: |
sudo rm -fr $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
with:
name: modem_target_bin_${{ matrix.idf_target }}_${{ matrix.idf_ver }}_${{ matrix.test.app }}
path: ${{ env.TEST_DIR }}/build
- name: Install Python packages
env:
PIP_EXTRA_INDEX_URL: "https://dl.espressif.com/pypi/"
run: pip install --prefer-binary cryptography pytest-embedded pytest-embedded-serial-esp pytest-embedded-idf pytest-custom_exit_code
- name: Run Example Test on target
working-directory: ${{ env.TEST_DIR }}
run: |
Expand Down

0 comments on commit f0e883e

Please sign in to comment.