Skip to content

Commit

Permalink
Merge pull request #627 from EspressoSystems/abdul/fix-build-ci
Browse files Browse the repository at this point in the history
run cargo fmt and clippy before test job in build CI
  • Loading branch information
imabdulbasit committed Jun 6, 2024
2 parents 3592ae2 + cf2964d commit d353215
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,20 @@ jobs:
run: |
cargo build --workspace --release
- name: Test
run: |
cargo test --workspace --release --all-features --no-run
cargo test --workspace --release --all-features --verbose -- --test-threads 2
timeout-minutes: 60

- name: Format Check
run: cargo fmt -- --check

# Run Clippy on all targets. The lint workflow doesn't run Clippy on tests, because the tests
# don't compile with all combinations of features.
- name: Clippy
run: cargo clippy --workspace --all-features --all-targets -- -D warnings


- name: Test
run: |
cargo test --workspace --release --all-features --no-run
cargo test --workspace --release --all-features --verbose -- --test-threads 2
timeout-minutes: 60

- name: Generate Documentation
run: |
cargo doc --no-deps --lib --release --all-features
Expand Down

0 comments on commit d353215

Please sign in to comment.