Skip to content

Commit

Permalink
Merge pull request #191 from yangby-cryptape/ci/fix-grcov
Browse files Browse the repository at this point in the history
ci: fix the compilation of `grcov`
  • Loading branch information
quake authored Apr 12, 2024
2 parents d598560 + e4675a0 commit 1cdc623
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
override: true
components: llvm-tools-preview
- name: Install Grcov
run: grcov --version || cargo install grcov
run: grcov --version || cargo install --locked grcov
- name: Generate Code Coverage Report of Unit Tests
run: |
make coverage-run-unittests
Expand All @@ -100,6 +100,7 @@ jobs:
with:
files: coverage-report.info
env_vars: OS,RUST_TOOLCHAIN
fail_ci_if_error: true
fail_ci_if_error: false
flags: unittests
verbose: false
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ coverage-clean:

coverage-install-tools:
rustup component add llvm-tools-preview
grcov --version || cargo install grcov
grcov --version || cargo install --locked grcov

coverage-run-unittests:
mkdir -p "${COVERAGE_PROFRAW_DIR}"
Expand Down

0 comments on commit 1cdc623

Please sign in to comment.