Skip to content

Commit

Permalink
fixing ci/cd - coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
oiwn committed Dec 11, 2024
1 parent 42942ec commit 3dcd12c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,28 @@ jobs:
image: redis
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview

- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov

Expand All @@ -169,5 +184,7 @@ jobs:
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
fail_ci_if_error: true
verbose: true

0 comments on commit 3dcd12c

Please sign in to comment.