Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Jan 19, 2024
1 parent 879a1a7 commit 2139321
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
strategy:
matrix:
include:
- { rust: nightly }
- { rust: nightly, features: coverage }
- { rust: stable }
steps:
- uses: actions/checkout@v3
Expand All @@ -17,12 +17,14 @@ jobs:
run: cargo build
- name: Test
run: cargo test
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'
# 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
if: ${{ contains(matrix.features, 'coverage') }}
uses: actions-rs/[email protected]
- name: Submit coverage
if: ${{ contains(matrix.features, 'coverage') }}
uses: codecov/codecov-action@v4-beta
with:
fail_ci_if_error: true

0 comments on commit 2139321

Please sign in to comment.