Skip to content

Commit

Permalink
Run the tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
i-am-tom committed Feb 15, 2024
1 parent 02d26c1 commit 1ea7c71
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: test

on:
push:

jobs:
cargo-test:
name: run cargo test
runs-on: ubuntu-latest
env:
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
RUSTFLAGS: "-D warnings" # fail on warnings
steps:
- uses: actions/checkout@v4

- name: install tools
run: |
rustup show
- uses: Swatinem/rust-cache@v2

- name: run tests
run: cargo test

0 comments on commit 1ea7c71

Please sign in to comment.