use 'cargo test --workspace' in CI (#1793)

79caa7b72b setup helix-term as the
default workspace member (which I believe is done to avoid building
xtask on every compile). This changes the behavior of 'cargo test'
though so that it only runs helix-term tests by default. To run all
tests, we switch to 'cargo test --workspace'.
This commit is contained in:
Michael Davis 2022-03-12 01:04:52 -06:00 committed by GitHub
parent 0712eb3e3b
commit 61828ea519
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -90,6 +90,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace
strategy:
matrix:

View file

@ -67,7 +67,7 @@ jobs:
with:
use-cross: ${{ matrix.cross }}
command: test
args: --release --locked --target ${{ matrix.target }}
args: --release --locked --target ${{ matrix.target }} --workspace
- name: Build release binary
uses: actions-rs/cargo@v1