fixed job name, renamed compile step id (#1952)
Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
parent
ebc2b66372
commit
a09d0a8bd4
8
.github/workflows/unit_tests.yml
vendored
8
.github/workflows/unit_tests.yml
vendored
@ -8,7 +8,7 @@ env:
|
|||||||
DEFAULT_TARGET: f7
|
DEFAULT_TARGET: f7
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
main:
|
run_units_on_test_bench:
|
||||||
runs-on: [self-hosted, FlipperZeroTest]
|
runs-on: [self-hosted, FlipperZeroTest]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
@ -22,14 +22,14 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "flipper=/dev/ttyACM0" >> $GITHUB_OUTPUT
|
echo "flipper=/dev/ttyACM0" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: 'Compile unit tests firmware'
|
- name: 'Flash unit tests firmware'
|
||||||
id: compile
|
id: flashing
|
||||||
run: |
|
run: |
|
||||||
FBT_TOOLCHAIN_PATH=/opt ./fbt flash OPENOCD_ADAPTER_SERIAL=2A0906016415303030303032 FIRMWARE_APP_SET=unit_tests FORCE=1
|
FBT_TOOLCHAIN_PATH=/opt ./fbt flash OPENOCD_ADAPTER_SERIAL=2A0906016415303030303032 FIRMWARE_APP_SET=unit_tests FORCE=1
|
||||||
|
|
||||||
- name: 'Wait for flipper to finish updating'
|
- name: 'Wait for flipper to finish updating'
|
||||||
id: connect
|
id: connect
|
||||||
if: steps.compile.outcome == 'success'
|
if: steps.flashing.outcome == 'success'
|
||||||
run: |
|
run: |
|
||||||
. scripts/toolchain/fbtenv.sh
|
. scripts/toolchain/fbtenv.sh
|
||||||
./scripts/testing/await_flipper.py ${{steps.device.outputs.flipper}}
|
./scripts/testing/await_flipper.py ${{steps.device.outputs.flipper}}
|
||||||
|
Loading…
Reference in New Issue
Block a user