Skip to content

Commit

Permalink
run coverage only after merge
Browse files Browse the repository at this point in the history
coverage is a quite slow step in CI. It can be run only after merging
  • Loading branch information
PSeitz committed Oct 6, 2023
1 parent e246e57 commit d7d6389
Show file tree
Hide file tree
Showing 2 changed files with 9 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
9 changes: 9 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ jobs:

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

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

- name: Check Nightly Compilation
run: cargo +nightly 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 d7d6389

Please sign in to comment.