Merge pull request #332 from quartiq/feature/hitl-check

Adding check wait for HITL
This commit is contained in:
Ryan Summers 2021-04-09 16:51:17 +02:00 committed by GitHub
commit 05ead19cff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 2 deletions

View File

@ -1,4 +1,4 @@
name: HITL
name: HITL Trigger
on:
workflow_dispatch:
@ -6,7 +6,7 @@ on:
branches: [ master ]
jobs:
hitl:
hitl-trigger:
runs-on: ubuntu-latest
environment: hitl
steps:
@ -16,3 +16,12 @@ jobs:
event-type: stabilizer
repository: quartiq/hitl
client-payload: '{"github": ${{ toJson(github) }}}'
- name: Wait for startup
run: sleep 30
- uses: fountainhead/action-wait-for-check@v1.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: HITL Run Status
ref: ${{ github.event.pull_request.head.sha }}

View File

@ -15,6 +15,8 @@ python3 -m venv --system-site-packages py
. py/bin/activate
python3 -m pip install -r requirements.txt
cargo flash --elf target/thumbv7em-none-eabihf/release/dual-iir --chip STM32H743ZITx
# Test pinging Stabilizer. This exercises that:
# * DHCP is functional and an IP has been acquired
# * Stabilizer's network is functioning as intended