Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: try nextest #701

Merged
merged 2 commits into from
Feb 16, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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/rust-cache@v1.3.0

- name: Cargo test
uses: actions-rs/cargo@v1.0.3
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/rust-cache@v1.3.0

- name: Cargo test
uses: actions-rs/cargo@v1.0.3
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/rust-cache@v1.3.0

- name: Cargo test
uses: actions-rs/cargo@v1.0.3
with:
command: test
args: --workspace
- name: Cargo nextest
run: cargo nextest run --workspace