33 lines
810 B
YAML
33 lines
810 B
YAML
name: "Run tests on Windows"
|
|
description: "Runs the tests on Windows"
|
|
|
|
inputs:
|
|
working-directory:
|
|
description: "The working directory"
|
|
required: true
|
|
default: "."
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: FIXME
|
|
shell: powershell
|
|
run: Write-Host "$env:LOCALAPPDATA"
|
|
|
|
- name: Install test runner
|
|
shell: powershell
|
|
working-directory: ${{ inputs.working-directory }}
|
|
run: cargo install cargo-nextest --locked
|
|
|
|
- name: Install Node
|
|
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
|
with:
|
|
node-version: "18"
|
|
|
|
- name: Run tests
|
|
shell: powershell
|
|
working-directory: ${{ inputs.working-directory }}
|
|
run: |
|
|
$env:RUST_BACKTRACE = "full"
|
|
|
|
cargo nextest run --workspace --no-fail-fast
|