Skip to content

cfg-guard unix-only session tests (pwd, false, absolute paths) #60

cfg-guard unix-only session tests (pwd, false, absolute paths)

cfg-guard unix-only session tests (pwd, false, absolute paths) #60

Workflow file for this run

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