mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-11-24 03:07:21 +03:00
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
|
||||
|
||||
jobs:
|
||||
main:
|
||||
run_units_on_test_bench:
|
||||
runs-on: [self-hosted, FlipperZeroTest]
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@ -22,14 +22,14 @@ jobs:
|
||||
run: |
|
||||
echo "flipper=/dev/ttyACM0" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: 'Compile unit tests firmware'
|
||||
id: compile
|
||||
- name: 'Flash unit tests firmware'
|
||||
id: flashing
|
||||
run: |
|
||||
FBT_TOOLCHAIN_PATH=/opt ./fbt flash OPENOCD_ADAPTER_SERIAL=2A0906016415303030303032 FIRMWARE_APP_SET=unit_tests FORCE=1
|
||||
|
||||
- name: 'Wait for flipper to finish updating'
|
||||
id: connect
|
||||
if: steps.compile.outcome == 'success'
|
||||
if: steps.flashing.outcome == 'success'
|
||||
run: |
|
||||
. scripts/toolchain/fbtenv.sh
|
||||
./scripts/testing/await_flipper.py ${{steps.device.outputs.flipper}}
|
||||
|
Loading…
Reference in New Issue
Block a user