Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add running hw tests on self-hosted runner to the workflow #885

Merged
merged 5 commits into from
Feb 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading