Changed bench target, stlink serial and added error for testing the run (#2275)
* changed bench target, stlink serial and added error for testing the run * changed flipper name for macos and changed serial aquisition for device manager * tested broken pipeline, reverting test data * added timeout-minutes, testing if its int or float Co-authored-by: Konstantin Volkov <k.volkov@flipperdevices.com> Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
parent
5db7fdf985
commit
7f3ebcd110
1
.github/workflows/unit_tests.yml
vendored
1
.github/workflows/unit_tests.yml
vendored
@ -56,6 +56,7 @@ jobs:
|
|||||||
- name: 'Run units and validate results'
|
- name: 'Run units and validate results'
|
||||||
id: run_units
|
id: run_units
|
||||||
if: steps.copy.outcome == 'success'
|
if: steps.copy.outcome == 'success'
|
||||||
|
timeout-minutes: 2.5
|
||||||
run: |
|
run: |
|
||||||
source scripts/toolchain/fbtenv.sh
|
source scripts/toolchain/fbtenv.sh
|
||||||
python3 scripts/testing/units.py ${{steps.device.outputs.flipper}}
|
python3 scripts/testing/units.py ${{steps.device.outputs.flipper}}
|
||||||
|
7
.github/workflows/updater_test.yml
vendored
7
.github/workflows/updater_test.yml
vendored
@ -10,7 +10,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test_updater_on_bench:
|
test_updater_on_bench:
|
||||||
runs-on: [self-hosted, FlipperZeroTest] # currently on same bench as units, needs different bench
|
runs-on: [self-hosted, FlipperZeroTestMac1]
|
||||||
steps:
|
steps:
|
||||||
- name: 'Decontaminate previous build leftovers'
|
- name: 'Decontaminate previous build leftovers'
|
||||||
run: |
|
run: |
|
||||||
@ -27,7 +27,8 @@ jobs:
|
|||||||
- name: 'Get flipper from device manager (mock)'
|
- name: 'Get flipper from device manager (mock)'
|
||||||
id: device
|
id: device
|
||||||
run: |
|
run: |
|
||||||
echo "flipper=/dev/ttyACM0" >> $GITHUB_OUTPUT
|
echo "flipper=/dev/tty.usbmodemflip_Rekigyn1" >> $GITHUB_OUTPUT
|
||||||
|
echo "stlink=0F020D026415303030303032" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: 'Flashing target firmware'
|
- name: 'Flashing target firmware'
|
||||||
id: first_full_flash
|
id: first_full_flash
|
||||||
@ -67,7 +68,7 @@ jobs:
|
|||||||
- name: 'Flash last release'
|
- name: 'Flash last release'
|
||||||
if: failure()
|
if: failure()
|
||||||
run: |
|
run: |
|
||||||
./fbt flash OPENOCD_ADAPTER_SERIAL=2A0906016415303030303032 FORCE=1
|
./fbt flash OPENOCD_ADAPTER_SERIAL=${{steps.device.outputs.stlink}} FORCE=1
|
||||||
|
|
||||||
- name: 'Wait for flipper and format ext'
|
- name: 'Wait for flipper and format ext'
|
||||||
if: failure()
|
if: failure()
|
||||||
|
Loading…
Reference in New Issue
Block a user