Skip to content

Commit

Permalink
Coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Jan 19, 2024
1 parent 32bd71a commit 879a1a7
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ jobs:
run: cargo build
- name: Test
run: cargo test
# if: ${{ contains(matrix.features, 'coverage') }}
# uses: codecov/codecov-action@v3
# with:
# fail_ci_if_error: true
# gcov: true
env:
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
- name: Collect coverage
uses: actions-rs/[email protected]
- name: Submit coverage
uses: codecov/codecov-action@v4-beta
with:
fail_ci_if_error: true

0 comments on commit 879a1a7

Please sign in to comment.