Yielding to the collector #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: [push] | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
version: ["stable", "1.73.0"] | |
features: ["", "--all-features"] | |
os: ["ubuntu-latest", "windows-latest", "macos-latest"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: ${{ matrix.version }} | |
- name: Run clippy | |
if: matrix.version == 'stable' | |
run: | | |
cargo clippy ${{ matrix.features }} --all-targets -p muse | |
- name: Build | |
run: | | |
cargo build ${{ matrix.features }} --all-targets -p muse | |
- name: Run unit tests | |
run: | | |
cargo test ${{ matrix.features }} --all-targets -p muse -- --nocapture |