Skip to content

Commit

Permalink
github/workflows/tests.yml: Call Makefile to run the test
Browse files Browse the repository at this point in the history
The test.yml calls the same 'cargo test' command line as defined in the
Makefile test target.

This updates the test.yml to call 'make test' so that we don't need to
maintain the same test in multiple places.

Signed-off-by: Claudio Carvalho <[email protected]>
  • Loading branch information
cclaudio committed Jul 4, 2023
1 parent 9b97f9a commit 5ea6ac4
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
- name: Prepare tests
run: rustup component add rust-src --toolchain nightly
run: make prereq RUST_INSTALLER_ARGS='-y'
- name: Run tests
run: cargo test --target=x86_64-unknown-linux-gnu -Z build-std
run: make test

0 comments on commit 5ea6ac4

Please sign in to comment.