Skip to content

Commit

Permalink
revert changes made to CI cargo test phase
Browse files Browse the repository at this point in the history
  • Loading branch information
tlowerison committed Nov 4, 2023
1 parent d9b1b36 commit d85b3e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,6 @@ jobs:

- uses: actions/checkout@v4

- name: Set environment variables to be used during cargo test phase (will generate codecov report bindings)
run: |
echo $'CARGO_INCREMENTAL="0"
RUSTFLAGS="-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests"
RUSTDOCFLAGS="-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests"' \
> .cargo-test.env
- run: pre-commit run --all-files --hook-stage push

- name: rust-grcov
Expand Down
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,12 @@ repos:
entry: sh
args:
- -c
- source .cargo-test.env; cargo test --all-features
- |
CARGO_INCREMENTAL="0" \
RUSTFLAGS="-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests" \
RUSTDOCFLAGS="-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests" \
cargo test \
--all-features
language: system
types: [rust]
pass_filenames: false
Expand Down

0 comments on commit d85b3e5

Please sign in to comment.