Skip to content

Commit 911ee9c

Browse files
authored
Revert "ci: Enable MC/DC coverage" (#2575)
This reverts commit d93f40c.
1 parent c1679d8 commit 911ee9c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/check.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ jobs:
7171
- uses: ./.github/actions/rust
7272
with:
7373
version: ${{ matrix.rust-toolchain }}
74-
components: ${{ matrix.rust-toolchain == 'nightly' && 'llvm-tools' || '' }}
75-
tools: ${{ matrix.rust-toolchain == 'nightly' && 'cargo-llvm-cov, ' || '' }} cargo-nextest
74+
components: ${{ matrix.rust-toolchain == 'stable' && 'llvm-tools' || '' }}
75+
tools: ${{ matrix.rust-toolchain == 'stable' && 'cargo-llvm-cov, ' || '' }} cargo-nextest
7676
token: ${{ secrets.GITHUB_TOKEN }}
7777

7878
- id: nss-version
@@ -96,8 +96,8 @@ jobs:
9696
DUMP_SIMULATION_SEEDS="$(pwd)/simulation-seeds"
9797
export DUMP_SIMULATION_SEEDS
9898
# shellcheck disable=SC2086
99-
if [ "$TOOLCHAIN" == "nightly" ]; then
100-
cargo llvm-cov nextest $BUILD_TYPE --locked --mcdc --include-ffi --features ci --profile ci --codecov --output-path codecov.json
99+
if [ "${{ matrix.rust-toolchain }}" == "stable" ]; then
100+
cargo +${{ matrix.rust-toolchain }} llvm-cov nextest $BUILD_TYPE --locked --include-ffi --features ci --profile ci --codecov --output-path codecov.json
101101
else
102102
cargo nextest run $BUILD_TYPE --locked --features ci --profile ci
103103
fi
@@ -127,7 +127,7 @@ jobs:
127127
verbose: true
128128
env:
129129
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
130-
if: ${{ matrix.type == 'debug' && matrix.rust-toolchain == 'nightly' }}
130+
if: matrix.type == 'debug' && matrix.rust-toolchain == 'stable'
131131

132132
- uses: codecov/test-results-action@f2dba722c67b86c6caa034178c6e4d35335f6706 # v1.1.0
133133
if: ${{ always() }}

0 commit comments

Comments
 (0)