Skip to content

Commit 1cdc623

Browse files
authored
Merge pull request #191 from yangby-cryptape/ci/fix-grcov
ci: fix the compilation of `grcov`
2 parents d598560 + e4675a0 commit 1cdc623

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/ci.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
override: true
9191
components: llvm-tools-preview
9292
- name: Install Grcov
93-
run: grcov --version || cargo install grcov
93+
run: grcov --version || cargo install --locked grcov
9494
- name: Generate Code Coverage Report of Unit Tests
9595
run: |
9696
make coverage-run-unittests
@@ -100,6 +100,7 @@ jobs:
100100
with:
101101
files: coverage-report.info
102102
env_vars: OS,RUST_TOOLCHAIN
103-
fail_ci_if_error: true
103+
fail_ci_if_error: false
104104
flags: unittests
105105
verbose: false
106+
token: ${{ secrets.CODECOV_TOKEN }}

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ coverage-clean:
1616

1717
coverage-install-tools:
1818
rustup component add llvm-tools-preview
19-
grcov --version || cargo install grcov
19+
grcov --version || cargo install --locked grcov
2020

2121
coverage-run-unittests:
2222
mkdir -p "${COVERAGE_PROFRAW_DIR}"

0 commit comments

Comments
 (0)