Skip to content

Commit

Permalink
update ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tlowerison committed Nov 1, 2023
1 parent 7f83767 commit 3d95910
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,8 @@ jobs:
- run: cargo test --all-features --verbose
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"

- run: pre-commit install --hook-type pre-commit

- run: pre-commit install --hook-type pre-push

- run: bash .git/hooks/pre-commit

- run: bash .git/hooks/pre-push
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"

- name: rust-grcov
uses: actions-rs/grcov@v0.1
Expand All @@ -71,3 +63,11 @@ jobs:
# Specify whether the Codecov output should be verbose
verbose: true
fail_ci_if_error: true

- run: pre-commit install --hook-type pre-commit

- run: pre-commit install --hook-type pre-push

- run: bash .git/hooks/pre-commit

- run: bash .git/hooks/pre-push

0 comments on commit 3d95910

Please sign in to comment.