Skip to content

Commit

Permalink
use nextest in ci tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stevefan1999-personal committed Jul 6, 2024
1 parent e9eaad4 commit 372a1a1
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions .github/workflows/rustls-rustcrypto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,26 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- run: cargo test --features tls12
- uses: taiki-e/install-action@nextest
- name: Test normal
run: cargo nextest run
- name: Test no_std
run: cargo nextest run --no-default-features --features tls12
- name: Test no_std with alloc
run: cargo test --no-default-features --features tls12,alloc

run: cargo nextest run --no-default-features --features tls12,alloc
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: llvm-tools-preview
- uses: taiki-e/install-action@cargo-llvm-cov
- uses: taiki-e/install-action@nextest
- name: Collect coverage data
run: cargo llvm-cov nextest
cross:
strategy:
matrix:
Expand All @@ -93,10 +109,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: ${{ matrix.deps }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
targets: ${{ matrix.target }}
- uses: RustCrypto/actions/cross-install@master
- run: cross test --release --target ${{ matrix.target }} --all-features
- uses: taiki-e/install-action@nextest
- run: cargo nextest run --release --target ${{ matrix.target }} --all-features

0 comments on commit 372a1a1

Please sign in to comment.