-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* CI: try nextest * CI: nextest for mac and wim Co-authored-by: CI system <>
- Loading branch information
1 parent
4d67b35
commit afdf57d
Showing
1 changed file
with
26 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,8 +69,8 @@ jobs: | |
- name: Cargo check all targets and features | ||
run: cargo hack check --workspace --each-feature --all-targets | ||
|
||
tests: | ||
name: Run tests Ubuntu | ||
tests_ubuntu: | ||
name: Run nextests on Ubuntu | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
|
@@ -83,14 +83,17 @@ jobs: | |
toolchain: stable | ||
override: true | ||
|
||
- name: Install cargo-nextest | ||
uses: baptiste0928/cargo-install@v1 | ||
with: | ||
crate: cargo-nextest | ||
version: 0.9 | ||
|
||
- name: Rust Cache | ||
uses: Swatinem/[email protected] | ||
|
||
- name: Cargo test | ||
uses: actions-rs/[email protected] | ||
with: | ||
command: test | ||
args: --workspace | ||
- name: Cargo nextest | ||
run: cargo nextest run --workspace | ||
|
||
tests_macos: | ||
name: Run tests macos | ||
|
@@ -106,14 +109,17 @@ jobs: | |
toolchain: stable | ||
override: true | ||
|
||
- name: Install cargo-nextest | ||
uses: baptiste0928/cargo-install@v1 | ||
with: | ||
crate: cargo-nextest | ||
version: 0.9 | ||
|
||
- name: Rust Cache | ||
uses: Swatinem/[email protected] | ||
|
||
- name: Cargo test | ||
uses: actions-rs/[email protected] | ||
with: | ||
command: test | ||
args: --workspace | ||
- name: Cargo nextest | ||
run: cargo nextest run --workspace | ||
|
||
tests_windows: | ||
name: Run tests Windows | ||
|
@@ -129,11 +135,14 @@ jobs: | |
toolchain: stable | ||
override: true | ||
|
||
- name: Install cargo-nextest | ||
uses: baptiste0928/cargo-install@v1 | ||
with: | ||
crate: cargo-nextest | ||
version: 0.9 | ||
|
||
- name: Rust Cache | ||
uses: Swatinem/[email protected] | ||
|
||
- name: Cargo test | ||
uses: actions-rs/[email protected] | ||
with: | ||
command: test | ||
args: --workspace | ||
- name: Cargo nextest | ||
run: cargo nextest run --workspace |