|
35 | 35 | path: | |
36 | 36 | **/test_app*/**/build_esp*/bootloader/bootloader.bin |
37 | 37 | **/test_app*/**/build_esp*/partition_table/partition-table.bin |
38 | | - **/test_app*/**/build_esp*/test_app_usb_*.bin |
39 | | - **/test_app*/**/build_esp*/test_app_usb_*.elf |
| 38 | + **/test_app*/**/build_esp*/test_app_*.bin |
| 39 | + **/test_app*/**/build_esp*/test_app_*.elf |
40 | 40 | **/test_app*/**/build_esp*/flasher_args.json |
41 | 41 | if-no-files-found: error |
42 | 42 |
|
|
49 | 49 | matrix: |
50 | 50 | idf_ver: ["release-v5.0", "release-v5.1", "release-v5.2", "release-v5.3", "latest"] |
51 | 51 | idf_target: ["esp32s2"] |
52 | | - runner: ["usb_host", "usb_device"] |
53 | | - runs-on: [self-hosted, linux, docker, "${{ matrix.idf_target }}", "${{ matrix.runner }}"] |
| 52 | + runner_tag: ["usb_host", "usb_device"] |
| 53 | + runs-on: [self-hosted, linux, docker, "${{ matrix.idf_target }}", "${{ matrix.runner_tag }}"] |
54 | 54 | container: |
55 | 55 | image: python:3.11-bookworm |
56 | 56 | options: --privileged # Privileged mode has access to serial ports |
|
64 | 64 | PIP_EXTRA_INDEX_URL: "https://dl.espressif.com/pypi/" |
65 | 65 | run: pip install --only-binary cryptography pytest-embedded pytest-embedded-serial-esp pytest-embedded-idf pyserial pyusb |
66 | 66 | - name: Run USB Test App on target |
67 | | - run: pytest --embedded-services esp,idf --target=${{ matrix.idf_target }} -m ${{ matrix.runner }} --build-dir=build_${{ matrix.idf_target }} |
| 67 | + run: pytest --embedded-services esp,idf --target=${{ matrix.idf_target }} -m ${{ matrix.runner_tag }} --build-dir=build_${{ matrix.idf_target }} |
0 commit comments