aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMichael Davis2022-03-12 07:04:52 +0000
committerGitHub2022-03-12 07:04:52 +0000
commit61828ea519e27f7ae762917ad74d519b5fe511ac (patch)
tree543c140612e37300fb5f41faca0fb8a64ee1b4ed /.github
parent0712eb3e3b66005ac6b768159e8eaef1d92fc97a (diff)
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'.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml1
-rw-r--r--.github/workflows/release.yml2
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