Skip to content

Commit

Permalink
run coverage only after merge (#2212)
Browse files Browse the repository at this point in the history
* run coverage only after merge

coverage is a quite slow step in CI. It can be run only after merging

* Apply suggestions from code review

Co-authored-by: Paul Masurel <[email protected]>

---------

Co-authored-by: Paul Masurel <[email protected]>
  • Loading branch information
PSeitz and fulmicoton authored Oct 18, 2023
1 parent ecb9a89 commit 7e1980b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: Coverage
on:
push:
branches: [main]
pull_request:
branches: [main]

# Ensures that we cancel running jobs for the same PR / same workflow.
concurrency:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ jobs:

- name: Check Formatting
run: cargo +nightly fmt --all -- --check

- name: Check Stable Compilation
run: cargo build --all-features


- name: Check Bench Compilation
run: cargo +nightly bench --no-run --profile=dev --all-features

- uses: actions-rs/clippy-check@v1
with:
Expand Down

0 comments on commit 7e1980b

Please sign in to comment.