mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-10 07:26:23 -04:00
fix(ci): run all workspace tests
Without `--workspace`, all generate tests were silently skipped.
This commit is contained in:
parent
067f85e5a2
commit
03ae6710cd
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
|
@ -293,7 +293,7 @@ jobs:
|
|||
|
||||
- name: Run main tests
|
||||
if: inputs.run-test && !matrix.no-run
|
||||
run: cargo test --target='${{ matrix.target }}' --features='${{ (matrix.run-wasm-test || !inputs.run-test) && matrix.features || '' }}'
|
||||
run: cargo test --workspace --target='${{ matrix.target }}' --features='${{ (matrix.run-wasm-test || !inputs.run-test) && matrix.features || '' }}'
|
||||
|
||||
- name: Run Wasm tests
|
||||
if: inputs.run-test && !matrix.no-run && contains(matrix.features, 'wasm') && matrix.run-wasm-test
|
||||
|
|
|
|||
Loading…
Reference in a new issue