@@ -78,10 +78,26 @@ jobs:
78
78
- uses : dtolnay/rust-toolchain@master
79
79
with :
80
80
toolchain : ${{ matrix.toolchain }}
81
- - run : cargo test --features tls12
81
+ - uses : taiki-e/install-action@nextest
82
+ - name : Test normal
83
+ run : cargo nextest run
84
+ - name : Test no_std
85
+ run : cargo nextest run --no-default-features --features tls12
82
86
- name : Test no_std with alloc
83
- run : cargo test --no-default-features --features tls12,alloc
84
-
87
+ run : cargo nextest run --no-default-features --features tls12,alloc
88
+ coverage :
89
+ runs-on : ubuntu-latest
90
+ steps :
91
+ - uses : actions/checkout@v4
92
+ - uses : RustCrypto/actions/cargo-cache@master
93
+ - uses : dtolnay/rust-toolchain@master
94
+ with :
95
+ toolchain : stable
96
+ components : llvm-tools-preview
97
+ - uses : taiki-e/install-action@cargo-llvm-cov
98
+ - uses : taiki-e/install-action@nextest
99
+ - name : Collect coverage data
100
+ run : cargo llvm-cov nextest
85
101
cross :
86
102
strategy :
87
103
matrix :
@@ -93,10 +109,11 @@ jobs:
93
109
runs-on : ubuntu-latest
94
110
steps :
95
111
- uses : actions/checkout@v4
96
- - run : ${{ matrix.deps }}
112
+ - name : Set up QEMU
113
+ uses : docker/setup-qemu-action@v3
97
114
- uses : dtolnay/rust-toolchain@master
98
115
with :
99
116
toolchain : ${{ matrix.rust }}
100
117
targets : ${{ matrix.target }}
101
- - uses : RustCrypto/actions/cross- install@master
102
- - run : cross test --release --target ${{ matrix.target }} --all-features
118
+ - uses : taiki-e/ install-action@nextest
119
+ - run : cargo nextest run --release --target ${{ matrix.target }} --all-features
0 commit comments