Skip to content

Commit

Permalink
CI: try nextest (#701)
Browse files Browse the repository at this point in the history
* CI: try nextest

* CI: nextest for mac and wim

Co-authored-by: CI system <>
  • Loading branch information
TriplEight authored Feb 16, 2022
1 parent 4d67b35 commit afdf57d
Showing 1 changed file with 26 additions and 17 deletions.
43 changes: 26 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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

0 comments on commit afdf57d

Please sign in to comment.