2023-11-18 02:27:11 +00:00
|
|
|
name: "Run tests"
|
|
|
|
description: "Runs the tests"
|
2023-11-17 22:07:51 +00:00
|
|
|
|
|
|
|
runs:
|
2024-02-16 03:04:57 +00:00
|
|
|
using: "composite"
|
|
|
|
steps:
|
|
|
|
- name: Install Rust
|
|
|
|
shell: bash -euxo pipefail {0}
|
|
|
|
run: |
|
2025-01-10 21:27:28 +00:00
|
|
|
cargo install cargo-nextest --locked
|
2023-11-17 22:07:51 +00:00
|
|
|
|
2024-02-16 03:04:57 +00:00
|
|
|
- name: Install Node
|
2024-10-31 15:28:37 +00:00
|
|
|
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
|
2024-02-16 03:04:57 +00:00
|
|
|
with:
|
|
|
|
node-version: "18"
|
2023-11-17 22:07:51 +00:00
|
|
|
|
2024-02-16 03:04:57 +00:00
|
|
|
- name: Limit target directory size
|
|
|
|
shell: bash -euxo pipefail {0}
|
|
|
|
run: script/clear-target-dir-if-larger-than 100
|
2023-11-17 22:07:51 +00:00
|
|
|
|
2024-02-16 03:04:57 +00:00
|
|
|
- name: Run tests
|
|
|
|
shell: bash -euxo pipefail {0}
|
|
|
|
run: cargo nextest run --workspace --no-fail-fast
|