-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (50 loc) · 1.47 KB
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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
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
run: cargo +nightly nextest run --all --nocapture --features nightly