Skip to content

Commit

Permalink
Also run cargo test on macOS and Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
messense authored and thomcc committed Oct 28, 2022
1 parent d668808 commit 16d6bd5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,18 @@ on: [push, pull_request]
jobs:
test:
name: Test
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
rust: [stable, beta, nightly]
steps:
- uses: actions/checkout@master
- name: Install Rust
run: rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
- run: cargo test
- name: Integration test
run: cargo test --manifest-path test-crate/Cargo.toml

rustfmt:
name: Rustfmt
Expand Down

0 comments on commit 16d6bd5

Please sign in to comment.