Of course have to end on a weird thing. #58
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: Run Cargo Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
feature-combination: | |
- "--features compacting,thread-safe" | |
- "--features simple-generation,thread-safe" | |
- "--features simple-mark-and-sweep,thread-safe" | |
- "--features compacting" | |
- "--features simple-generation" | |
- "--features simple-mark-and-sweep" | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
profile: minimal | |
override: true | |
- name: Run tests with features | |
run: RUST_BACKTRACE=1 cargo test ${{ matrix.feature-combination }} |