Skip to content

chore: Continue cleaning up the project #399

chore: Continue cleaning up the project

chore: Continue cleaning up the project #399

Workflow file for this run

name: Test Suite
on: [push, pull_request]
jobs:
test:
name: Test Suite
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os: [ubuntu-latest]
toolchain: [stable]
experimental: [false]
include:
- os: ubuntu-latest
toolchain: nightly
experimental: true
- os: macos-latest
toolchain: stable
experimental: true
- os: macos-latest
toolchain: nightly
experimental: true
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install ${{ matrix.toolchain }} toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
override: true
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-${{ matrix.toolchain }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
# Using -- --ignored is not possible with actions-rs/cargo, run plain
# cargo instead.
- name: Run expensive testts
run: cargo test --release -- --ignored