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'.
commit61828ea519e27f7ae762917ad74d519b5fe511ac
authorMichael Davis <mcarsondavis@gmail.com>
dateSat 12 Mar 2022, 01:04 (5 years ago)
parent0712eb3
.github/workflows/build.yml+1
@@ -90,6 +90,7 @@ jobs:
9090 uses: actions-rs/cargo@v1
9191 with:
9292 command: test
93+ args: --workspace
9394
9495 strategy:
9596 matrix:
.github/workflows/release.yml+1−1
@@ -67,7 +67,7 @@ jobs:
6767 with:
6868 use-cross: ${{ matrix.cross }}
6969 command: test
70− args: --release --locked --target ${{ matrix.target }}
70+ args: --release --locked --target ${{ matrix.target }} --workspace
7171
7272 - name: Build release binary
7373 uses: actions-rs/cargo@v1