name: tests
on:
push:
branches:
pull_request:
branches:
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
# - run: cargo install cargo-expand #this is potentially slower than using the action below
# - uses: actions-rs/install@v0.1
# with:
# crate: cargo-expand
# version: latest
# use-tool-cache: true #see https://github.com/marketplace/actions/rust-cargo-install
- uses: actions-rs/cargo@v1
with:
command: test
args: --workspace -- --skip macro_expansion # explicitly skip all macro expansion tests here