ci: use nextest (#148)

* ci: use nextest

* add doctests back
This commit is contained in:
Nugine
2025-07-10 11:33:12 +08:00
committed by GitHub
parent 363e37c791
commit a3b5445824
3 changed files with 8 additions and 2 deletions

View File

@@ -94,6 +94,9 @@ runs:
if: inputs.install-cross-tools == 'true'
uses: taiki-e/install-action@cargo-zigbuild
- name: Install cargo-nextest
uses: taiki-e/install-action@cargo-nextest
- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
with:

View File

@@ -102,7 +102,9 @@ jobs:
cache-save-if: ${{ github.ref == 'refs/heads/main' }}
- name: Run tests
run: cargo test --all --exclude e2e_test
run: |
cargo nextest run --all --exclude e2e_test
cargo test --all --doc
- name: Check code formatting
run: cargo fmt --all --check