mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-24 21:59:04 +00:00
This relies on 1.94s --workspace option we've added to cargo Self-Review Checklist: - [x] I've reviewed my own diff for quality, security, and reliability - [x] Unsafe blocks (if any) have justifying comments - [x] The content is consistent with the [UI/UX checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) - [x] Tests cover the new/changed behavior - [x] Performance impact has been considered and is acceptable Closes #ISSUE Release Notes: - N/A
21 lines
626 B
YAML
21 lines
626 B
YAML
name: "Run tests"
|
|
description: "Runs the tests"
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Install nextest
|
|
uses: taiki-e/install-action@921e2c9f7148d7ba14cd819f417db338f63e733c # nextest
|
|
|
|
- name: Install Node
|
|
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
|
with:
|
|
node-version: "18"
|
|
|
|
- name: Limit target directory size
|
|
shell: bash -euxo pipefail {0}
|
|
run: script/clear-target-dir-if-larger-than 350 200
|
|
|
|
- name: Run tests
|
|
shell: bash -euxo pipefail {0}
|
|
run: cargo nextest run --workspace --no-fail-fast --failure-output immediate-final
|