Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f4b35e3385 | |||
| 57386a0fc1 | |||
| 4f7e2bf888 | |||
| d2e47b79d9 | |||
| bc8cd78c4a |
@@ -0,0 +1,38 @@
|
|||||||
|
name: Hardware CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- '**'
|
||||||
|
|
||||||
|
# Only one run at a time — we have a single physical DUT.
|
||||||
|
# A new push will queue behind the running job rather than cancelling it.
|
||||||
|
concurrency:
|
||||||
|
group: hw-dut
|
||||||
|
cancel-in-progress: false
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
hw-test:
|
||||||
|
name: DUT update + UI tests
|
||||||
|
runs-on: self-hosted
|
||||||
|
timeout-minutes: 30
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Update DUT firmware
|
||||||
|
run: |
|
||||||
|
BRANCH="${{ github.ref_name }}"
|
||||||
|
ssh -o StrictHostKeyChecking=no caster@swtx1008.local "
|
||||||
|
set -e
|
||||||
|
cd ~/bumble-auracast
|
||||||
|
git fetch origin
|
||||||
|
git checkout \"$BRANCH\" 2>/dev/null || git checkout -b \"$BRANCH\" origin/\"$BRANCH\"
|
||||||
|
git pull origin \"$BRANCH\"
|
||||||
|
bash src/auracast/server/system_update.sh
|
||||||
|
"
|
||||||
|
|
||||||
|
- name: Run UI regression tests
|
||||||
|
run: |
|
||||||
|
cd ~/testsuite_tx_ui
|
||||||
|
git pull
|
||||||
|
set -a && source .env && set +a
|
||||||
|
~/.local/bin/poetry run pytest -v
|
||||||
Reference in New Issue
Block a user