mirror of https://github.com/helix-editor/helix
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'.
pull/1751/head
parent
0712eb3e3b
commit
61828ea519
|
@ -90,6 +90,7 @@ jobs:
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: test
|
command: test
|
||||||
|
args: --workspace
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
|
@ -67,7 +67,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
use-cross: ${{ matrix.cross }}
|
use-cross: ${{ matrix.cross }}
|
||||||
command: test
|
command: test
|
||||||
args: --release --locked --target ${{ matrix.target }}
|
args: --release --locked --target ${{ matrix.target }} --workspace
|
||||||
|
|
||||||
- name: Build release binary
|
- name: Build release binary
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
|
|
Loading…
Reference in New Issue