diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 54500c4..5e1dfeb 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -57,3 +57,27 @@ jobs: run: | cargo run --package gen -- --bin target/debug/imdl book mdbook build book --dest-dir ../www/book + + test: + strategy: + matrix: + os: + - macos-latest + - ubuntu-latest + - windows-latest + + runs-on: ${{matrix.os}} + + steps: + - uses: actions/checkout@v2 + + - name: Install Rust Toolchain Components + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + + - uses: Swatinem/rust-cache@v2 + + - name: Test + run: cargo test --workspace