Skip to content

Commit

Permalink
adding tests ci
Browse files Browse the repository at this point in the history
  • Loading branch information
patnir committed Feb 29, 2024
1 parent 1407dd3 commit 7df771f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,23 @@ jobs:
- name: "Clippy check on"
run: |
cargo clippy --all-targets -- -D warnings
test:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Cache Rust
uses: Swatinem/rust-cache@v2
with:
save-if: false
shared-key: base

- name: Install Cargo tools
run: |
rustup component add rustfmt clippy
- name: Run tests
run: |
cargo test

0 comments on commit 7df771f

Please sign in to comment.