Unnamed repository; edit this file 'description' to name the repository.
use 'cargo test --workspace' in CI (#1793)
79caa7b72bef94bd820758b2ebc20887324f7416 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'.
| -rw-r--r-- | .github/workflows/build.yml | 1 | ||||
| -rw-r--r-- | .github/workflows/release.yml | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 776c8651..f1f73151 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -90,6 +90,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: test + args: --workspace strategy: matrix: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2d0b86e2..d954385e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 |