name: Test feature permutations
on:
pull_request:
types: [ labeled ]
env:
CARGO_TERM_COLOR: always
jobs:
test-features:
if: ${{ github.event.label.name == 'ready-to-merge' }}
runs-on: ubuntu-latest
strategy:
matrix:
std: ["", "alloc,", "std,"]
sync: ["", "sync,"]
nightly: ["", "nightly,"]
steps:
- uses: actions/checkout@v4
- name: Install nightly toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
- name: Run cargo test
run: cargo test --all --features=${{ matrix.std }}${{ matrix.sync }}${{ matrix.nightly }}