Skip to content

Commit

Permalink
add tests to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
shnewto committed Mar 4, 2024
1 parent aac7c28 commit a24dadd
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,22 @@ jobs:

- name: rustfmt check
run: cargo fmt --all -- --check

clippy:
needs: [format]
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- run: rustup component add clippy
- name: cargo clippy
run: cargo clippy --all-features --all-targets

test:
needs: [format]
runs-on: macos-latest
steps:
- name: cargo test
run: cargo test --features bevy

macos-latest-stable:
needs: [format]
Expand Down Expand Up @@ -101,11 +117,3 @@ jobs:
with:
command: build

clippy:
needs: [format]
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- run: rustup component add clippy
- name: cargo clippy
run: cargo clippy --all-features --all-targets

0 comments on commit a24dadd

Please sign in to comment.