From 9fdd51e68d98176a3597edc67533b0f103d6e820 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Fri, 11 Mar 2022 07:19:52 -0600 Subject: [PATCH] use 'cargo test --workspace' in CI 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'. --- .github/workflows/build.yml | 1 + .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 776c8651d2ca..f1f73151178c 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 2d0b86e2f5cc..d954385e58b0 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