Skip to content

Commit 2ba865c

Browse files
committed
try improve coverage
1 parent 3836943 commit 2ba865c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/coverage.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ jobs:
2424
- name: Install toolchain
2525
uses: actions-rs/toolchain@v1
2626
with:
27-
toolchain: ${{ matrix.channel }}
27+
toolchain: 1.81.0
2828
profile: minimal
2929
override: true
3030
components: llvm-tools-preview
3131
- name: Install cargo-llvm-cov
3232
uses: taiki-e/install-action@cargo-llvm-cov
3333
- name: Generate code coverage
34-
run: bash -c "ulimit -Sl 512 && ulimit -Hl 512 && /home/runner/.cargo/bin/cargo llvm-cov --release --all --lcov --output-path lcov.info"
34+
run: bash -c "ulimit -Sl 512 && ulimit -Hl 512 && ${{ matrix.cargo }} llvm-cov --release --all --lcov --output-path lcov.info"
3535
- name: Generate code coverage with all features
36-
run: bash -c "ulimit -Sl 512 && ulimit -Hl 512 && /home/runner/.cargo/bin/cargo llvm-cov --all-features --release --all --lcov --output-path lcov-all-features.info"
36+
run: bash -c "ulimit -Sl 512 && ulimit -Hl 512 && ${{ matrix.cargo }} llvm-cov --all-features --release --all --lcov --output-path lcov-all-features.info"
3737
- name: Upload coverage to Codecov
3838
run: |
3939
bash <(curl -s https://codecov.io/bash) -f lcov.info -t ${{ env.CODECOV_TOKEN }}
@@ -42,7 +42,6 @@ jobs:
4242
strategy:
4343
fail-fast: false
4444
matrix:
45-
channel: [ 1.81.0 ]
4645
include:
4746
- os: ubuntu-latest
4847
cargo: /home/runner/.cargo/bin/cargo

0 commit comments

Comments
 (0)