-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (33 loc) · 939 Bytes
/
test.yml
File metadata and controls
43 lines (33 loc) · 939 Bytes
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
name: Test
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
CARGO_PROFILE_TEST_DEBUG: 0
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@nextest
- uses: Swatinem/rust-cache@v2
- name: Compile
run: |
cargo test --workspace --no-run --locked
cargo build -p bough-lib --bin bough-test-helper --locked
- name: Test
run: cargo nextest run --workspace --locked --profile ci
- name: Upload test report
uses: actions/upload-artifact@v5
if: always()
with:
name: test-report-${{ matrix.os }}
path: target/nextest/ci/junit.xml