diff --git a/.github/workflows/hil.yml b/.github/workflows/hil.yml index f1a139ede42..eccef6a68d3 100644 --- a/.github/workflows/hil.yml +++ b/.github/workflows/hil.yml @@ -186,6 +186,12 @@ jobs: with: name: xtask-${{ matrix.target.host }} + - name: Flash first test with espflash + run: | + export PATH=$PATH:/home/espressif/.cargo/bin + test_file=$(ls tests-${{ matrix.target.soc }} | head -n 1) + espflash flash -p /dev/tty${{ matrix.target.usb }} tests-${{ matrix.target.soc }}/$test_file + - name: Run Tests id: run-tests run: |