Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

try to fix espflash command not found in HIL CI #1848

Merged
merged 2 commits into from
Jul 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions .github/workflows/hil.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,24 +103,29 @@ jobs:
# RISC-V devices:
- soc: esp32c2
runner: esp32c2-jtag
usb: ACM0
- soc: esp32c3
runner: esp32c3-usb
usb: ACM0
- soc: esp32c6
runner: esp32c6-usb
usb: ACM0
- soc: esp32h2
runner: esp32h2-usb
usb: ACM0
# Xtensa devices:
- soc: esp32s2
runner: esp32s2-jtag
usb: USB0
- soc: esp32s3
runner: esp32s3-usb
usb: USB0
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: tests-${{ matrix.target.soc }}
path: tests-${{ matrix.target.soc }}

- name: Run Tests
id: run-tests
run: |
Expand All @@ -129,4 +134,8 @@ jobs:

- name: Erase Flash on Failure
if: ${{ failure() && steps.run-tests.conclusion == 'failure' }}
run: espflash erase-flash
env:
ESPFLASH_PORT: /dev/tty${{ matrix.target.usb }}
run: |
export PATH=$PATH:/home/espressif/.cargo/bin
espflash erase-flash