Skip to content

Commit 1d299f9

Browse files
committed
disable build to speed up, change root dir to esp-usb pytest
1 parent 7bbddbf commit 1d299f9

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/build_and_run_esp_usb_test_apps.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
image: python:3.11-bookworm
7070
options: --privileged --device-cgroup-rule="c 188:* rmw" --device-cgroup-rule="c 166:* rmw"
7171
env:
72-
ESP_USB_EXAPLES_PATH: esp-usb/device/esp_tinyusb/test_apps
72+
ESP_USB_PATH: esp-usb
7373
steps:
7474
- uses: actions/checkout@v4
7575
- name: Clone esp-usb repository
@@ -87,4 +87,7 @@ jobs:
8787
with:
8888
name: usb_test_app_bin_${{ matrix.idf_ver }}
8989
- name: Run on target
90-
run: pytest ${{ env.ESP_USB_EXAPLES_PATH }} --embedded-services esp,idf --target=${{ matrix.idf_target }} -m ${{ matrix.runner_tag }} --build-dir=build_${{ matrix.idf_target }}
90+
run:
91+
. ${IDF_PATH}/export.sh
92+
cd ${{ env.ESP_USB_PATH }}
93+
pytest --target=${{ matrix.idf_target }} -m ${{ matrix.runner_tag }} --build-dir=build_${{ matrix.idf_target }}

.github/workflows/build_and_run_idf_examples.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ jobs:
3232
export MANIFEST_FILE="${IDF_PATH}/examples/network/.build-test-rules.yml"
3333
python .github/ci/override_managed_component.py tinyusb . ${EXAMPLES_PATH}
3434
idf-build-apps find -p ${EXAMPLES_PATH} -t esp32s2 --manifest-files ${MANIFEST_FILE} --manifest-rootpath ${IDF_PATH}
35-
idf-build-apps build -p ${EXAMPLES_PATH} -t esp32s2 --manifest-files ${MANIFEST_FILE} --manifest-rootpath ${IDF_PATH}
35+
# idf-build-apps build -p ${EXAMPLES_PATH} -t esp32s2 --manifest-files ${MANIFEST_FILE} --manifest-rootpath ${IDF_PATH}
3636
- name: Build USB Device examples
3737
shell: bash
3838
run: |
3939
. ${IDF_PATH}/export.sh
4040
python .github/ci/override_managed_component.py tinyusb . ${IDF_PATH}/examples/peripherals/usb/device/tusb_*
4141
idf-build-apps find --config-file ${CONFIG_PATH} --manifest-rootpath ${IDF_PATH}
42-
idf-build-apps build --config-file ${CONFIG_PATH} --manifest-rootpath ${IDF_PATH}
42+
# idf-build-apps build --config-file ${CONFIG_PATH} --manifest-rootpath ${IDF_PATH}
4343
- uses: actions/upload-artifact@v4
4444
env:
4545
IDF_ROOT: "/opt/esp/idf"
@@ -55,7 +55,7 @@ jobs:
5555
${{ env.IDF_ROOT }}/**/build_esp*/config/sdkconfig.json
5656
if-no-files-found: error
5757
run-target:
58-
name: Run USB Device examples
58+
name: Run
5959
if: ${{ github.repository_owner == 'espressif' }}
6060
needs: build
6161
strategy:

0 commit comments

Comments
 (0)