Skip to content

Enable cargo-nextest for CI #860

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

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 10 additions & 33 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,29 +91,6 @@ jobs:
- name: Cargo check all targets and features
run: cargo hack check --workspace --each-feature --all-targets

tests_ubuntu:
name: Run tests Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/[email protected]

- name: Install Rust stable toolchain
uses: actions-rs/[email protected]
with:
profile: minimal
toolchain: stable
override: true

- name: Rust Cache
uses: Swatinem/[email protected]

- name: Cargo test
uses: actions-rs/[email protected]
with:
command: test
args: --workspace

tests_macos:
name: Run tests macos
runs-on: macos-latest
Expand All @@ -128,14 +105,14 @@ jobs:
toolchain: stable
override: true

- name: Install latest nextest release
uses: taiki-e/install-action@nextest

- 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 @@ -151,14 +128,14 @@ jobs:
toolchain: stable
override: true

- name: Install latest nextest release
uses: taiki-e/install-action@nextest

- 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

wasm_tests:
name: Test wasm
Expand Down
3 changes: 2 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ test:
<<: *docker-env
<<: *common-refs
script:
- cargo test
- cargo nextest run --workspace
- cargo test --doc

benchmarks:
stage: benchmark
Expand Down