Skip to content

Commit

Permalink
add GitHub Workflow for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
bsteinb committed Jul 15, 2024
1 parent 03bb602 commit 5377c3c
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Test
on:
- push
- pull_request

jobs:
test:
name: Test suite
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.allow-errors }}
strategy:
fail-fast: false
matrix:
toolchain-version:
- stable
- beta
- nightly
allow-errors: [false]
include:
- toolchain-version: nightly
allow-errors: true
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain-version }}
components: clippy, rustfmt
- run: cargo build -v --no-default-features
- run: cargo build -v
- run: cargo test -v
- run: cargo clippy -v
- run: cargo fmt -v --check

0 comments on commit 5377c3c

Please sign in to comment.