mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-24 02:46:43 +00:00
0f1c2a8d01
This PR makes it so we install `cargo-nextest` with `cargo install cargo-nextest --locked` in CI. According to the [docs](https://nexte.st/docs/installation/from-source/), this is the **only** supported way to install `cargo-nextest` when building from source. Release Notes: - N/A
23 lines
595 B
YAML
23 lines
595 B
YAML
name: "Run tests"
|
|
description: "Runs the tests"
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Install Rust
|
|
shell: bash -euxo pipefail {0}
|
|
run: |
|
|
cargo install cargo-nextest --locked
|
|
|
|
- name: Install Node
|
|
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
|
|
with:
|
|
node-version: "18"
|
|
|
|
- name: Limit target directory size
|
|
shell: bash -euxo pipefail {0}
|
|
run: script/clear-target-dir-if-larger-than 100
|
|
|
|
- name: Run tests
|
|
shell: bash -euxo pipefail {0}
|
|
run: cargo nextest run --workspace --no-fail-fast
|