Skip to content

Commit

Permalink
add build flags for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thebino committed Sep 15, 2023
1 parent dd7b5c3 commit b791431
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ jobs:

- name: Run cargo test
uses: actions-rs/cargo@v1
env:
CARGO_INCREMENTAL: '0'
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'
with:
command: test
args: --workspace --all-targets
Expand All @@ -53,7 +57,7 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
verbose: true
fail_ci_if_error: true
fail_ci_if_error: false

lints:
name: Lint checks
Expand Down

0 comments on commit b791431

Please sign in to comment.