Skip to content

CFAVML-NONE: Extend tests & tweak docs #60

CFAVML-NONE: Extend tests & tweak docs

CFAVML-NONE: Extend tests & tweak docs #60

Workflow file for this run

name: Run Tests
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
tests-stable:
name: Run Tests Stable
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
environment: dev
steps:
- name: Checkout Branch
uses: actions/checkout@v4
# - name: Install cargo-llvm-cov
# uses: taiki-e/install-action@cargo-llvm-cov
- name: Install nextest
uses: taiki-e/install-action@nextest
- name: Check CFAVML core builds no STD
run: cargo build -p cfavml --no-default-features
- name: Test system - Stable
env:
RUSTFLAGS: "-C target-cpu=native"
run: cargo nextest run --all --nocapture
tests-nightly:
name: Run Tests Nightly
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
environment: dev
steps:
- name: Checkout Branch
uses: actions/checkout@v4
# - name: Install cargo-llvm-cov
# uses: taiki-e/install-action@cargo-llvm-cov
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: Install nextest
uses: taiki-e/install-action@nextest
- name: Check CFAVML core builds no STD
run: cargo +nightly build -p cfavml --no-default-features
- name: Test system - Nightly
env:
RUSTFLAGS: "-C target-cpu=native"
run: cargo +nightly nextest run --all --nocapture --features nightly