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: |
|
|
|
|
cargo install cargo-nextest
|
2023-11-17 22:07:51 +00:00
|
|
|
|
2024-02-16 03:04:57 +00:00
|
|
|
- name: Install Node
|
2024-09-26 15:24:01 +00:00
|
|
|
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # 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
|