Skip to content

Commit

Permalink
Run tests on Linux, MacOS and Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
sunsided committed May 5, 2024
1 parent 72fcc19 commit 9e47d9d
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Rust

on:
Expand All @@ -11,14 +12,15 @@ env:

jobs:
build:

runs-on: ubuntu-latest

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose --features=serde
- name: Run doctests
run: cargo test --doc --verbose --features=serde
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose --features=serde
- name: Run doctests
run: cargo test --doc --verbose --features=serde

0 comments on commit 9e47d9d

Please sign in to comment.