-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (34 loc) · 991 Bytes
/
tests.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
name: tests
on:
push:
branches:
- "main"
pull_request:
- "main"
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
MUTEST_SEARCH_PATH: ./target/release
jobs:
tests:
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
# Install Rust toolchain specified in rust-toolchain.toml.
- name: Install Rust toolchain
run: rustc --version
- name: Build mutest-runtime
run: cargo build --release -p mutest-runtime
- name: Install mutest-driver and cargo-mutest
run: |
cargo install --force --path mutest-driver
cargo install --force --path cargo-mutest
- name: Run unit tests
run: cargo test -p mutest-runtime --no-fail-fast -- --color=always
- name: Run UI tests
run: cargo run -p mutest-tests