Skip to content

Commit

Permalink
Version bump, cicd fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vrbouza committed Jan 22, 2025
1 parent dc7a9f7 commit 414d230
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,28 +22,25 @@ jobs:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: stable
override: true
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose --no-fail-fast
- name: Install cargo-llvm-cov and run tests
run: cargo install cargo-llvm-cov && cargo llvm-cov --lcov --output-path=./lcov.info
env:
CARGO_INCREMENTAL: '0'
RUSTFLAGS: '-Cinstrument-coverage'
- name: rust-grcov
# You may pin to the exact commit or the version.
# uses: actions-rs/grcov@bb47b1ed7883a1502fa6875d562727ace2511248
uses: actions-rs/[email protected]
with:
config: .github/config/grcov.yml
RUSTFLAGS: '-Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Cpanic_abort_tests -Cinstrument-coverage'
RUSTDOCFLAGS: '-Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Cpanic_abort_tests -Cinstrument-coverage'
- name: Codecov
# You may pin to the exact commit or the version.
# uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378
uses: codecov/[email protected]
# uses: codecov/[email protected]
uses: codecov/codecov-action@v4
with:
# Repository upload token - get it from codecov.io. Required only for private repositories
token: ${{ secrets.CODECOV_TOKEN }}
file: ./lcov.info
# Specify whether the Codecov output should be verbose
verbose: true
fail_ci_if_error: true

0 comments on commit 414d230

Please sign in to comment.