Skip to content

Commit

Permalink
CI: split tests
Browse files Browse the repository at this point in the history
in case of failure the mail only indicate which tests fails,
since the tests don't really reuse artifacts (except the checkout) just split
in three
  • Loading branch information
martinetd committed Sep 8, 2024
1 parent c38ac9e commit 8b3266a
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,21 @@ env:
RUSTFLAGS: "-Dwarnings"

jobs:
rust_checks:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run rustfmt
run: cargo fmt
- name: Run Clippy
run: cargo clippy --all-targets --all-features
rust_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run tests
run: cargo test
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run rustfmt
run: cargo fmt

0 comments on commit 8b3266a

Please sign in to comment.