Build tests first to reduce output on the test step

This commit is contained in:
Franck Royer 2021-01-22 16:25:44 +11:00
parent 0b8e2a069f
commit a76482a50c
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4

View File

@ -100,6 +100,9 @@ jobs:
- name: Cargo check all features
run: cargo check --workspace --all-targets --all-features
- name: Build tests
run: cargo build --tests --workspace --all-features
- name: Cargo test
if: (!matrix.skip_tests)
run: cargo test --workspace --all-features