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 278f3a0
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,33 @@ jobs:
override: true
- name: Build
run: cargo build --verbose
# - name: Run tests
# run: cargo test --verbose --no-fail-fast
# env:
# CARGO_INCREMENTAL: '0'
# RUSTFLAGS: '-Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests -Cinstrument-coverage'
# RUSTDOCFLAGS: '-Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests -Cinstrument-coverage'
- name: Run tests
run: cargo test --verbose --no-fail-fast
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 -Zpanic_abort_tests -Cinstrument-coverage'
RUSTDOCFLAGS: '-Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests -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
- 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 278f3a0

Please sign in to comment.