Skip to content

Commit

Permalink
Merge pull request #885 from andrewdavidmackenzie/self_hosted_runner
Browse files Browse the repository at this point in the history
Add running hw tests on self-hosted runner to the workflow
  • Loading branch information
andrewdavidmackenzie authored Feb 28, 2025
2 parents ebdc878 + 0283632 commit 387df44
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,17 @@ jobs:
- name: Build porky and porky_w and their UF2 files
run: cd porky && RUSTFLAGS= make uf2

hw_tests:
runs-on: [ self-hosted, macOS, ARM64, pigg ]
timeout-minutes: 10 # test it times out
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run HW Tests
run: make hw_tests
continue-on-error: true

clippy-build-and-test-matrix:
runs-on: ${{ matrix.os }}
strategy:
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,9 @@ build-porky:
test:
cargo test


.PHONY: hw_tests
hw_tests:
cargo test --package hw_tests
cargo test --package hw_test

.PHONY: features
features:
Expand Down

0 comments on commit 387df44

Please sign in to comment.