update testsuite to use defmt-test #755
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | ||
| pull_request: | ||
| merge_group: | ||
| # allows manual triggering | ||
| workflow_dispatch: | ||
| name: cortex-m on-target tests | ||
| jobs: | ||
| hil-qemu: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: dtolnay/rust-toolchain@stable | ||
| with: | ||
| targets: thumbv7em-none-eabihf | ||
| - name: Install QEMU | ||
| run: sudo apt-get update && sudo apt-get install qemu-system-arm | ||
| run: cargo install qemu-run | ||
| - name: Run testsuite | ||
| run: | | ||
| cd testsuite && cargo test --features qemu | ||