ci: separate test build and test run

https://matklad.github.io/2021/09/04/fast-rust-builds.html#CI-Workflow
This commit is contained in:
Boshen 2023-03-29 15:29:50 +08:00
parent 4a447bca4f
commit 282f19d27c
No known key found for this signature in database
GPG key ID: 6AC90C77AAAA6ABC

View file

@ -111,7 +111,10 @@ jobs:
with:
shared-key: check
- name: Run tests on ${{ matrix.os }}
- name: Build tests
run: cargo nextest run --no-run --locked
- name: Run tests
run: cargo nextest run
documentation: