From 7c70728b803aa90d6dc7b017df78c509835a83ac Mon Sep 17 00:00:00 2001 From: Tove Rumar Date: Wed, 14 Aug 2024 15:51:59 +0200 Subject: [PATCH] During the sanity job we need some flashing retries. It looks a bit flaky on mac, but its radio so things are allowed to go wrong --- .github/workflows/crazylab-sanity.yml | 4 ++-- sites/crazylab-mac.toml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/crazylab-sanity.yml b/.github/workflows/crazylab-sanity.yml index b5c335b..113bd63 100644 --- a/.github/workflows/crazylab-sanity.yml +++ b/.github/workflows/crazylab-sanity.yml @@ -47,7 +47,7 @@ jobs: venv/bin/pip install -r requirements.txt - name: Upgrade devices to latest firmware - run: venv/bin/python management/program.py --file cf2-nightly/firmware-cf2-nightly.zip + run: venv/bin/python management/program.py --file cf2-nightly/firmware-cf2-nightly.zip --retries 3 - name: Run test suite run: venv/bin/python -m pytest --verbose --html=${{env.TEST_FILE}}.html --junit-xml ${{env.TEST_FILE}}.xml -m sanity tests/QA @@ -120,7 +120,7 @@ jobs: run: python3 management/usb-power-reset.py -a reset - name: Upgrade devices to latest firmware - run: python3 management/program.py --file cf2-nightly/firmware-cf2-nightly.zip + run: python3 management/program.py --file cf2-nightly/firmware-cf2-nightly.zip --retries 3 - name: Run test suite run: pytest --verbose --html=${{env.TEST_FILE}}.html --junit-xml ${{env.TEST_FILE}}.xml -m sanity tests/QA diff --git a/sites/crazylab-mac.toml b/sites/crazylab-mac.toml index 42fe13d..c288c76 100644 --- a/sites/crazylab-mac.toml +++ b/sites/crazylab-mac.toml @@ -2,4 +2,5 @@ version = 1 [device.cf21_stock] radio = "radio://0/50/2M/E7E7E71801" +bootloader_radio = "radio://0/0/2M/B1C5DD7C7F?safelink=0"