Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c82a17016e |
@@ -1,38 +0,0 @@
|
||||
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