Run tests in the CI for all workspace members

This commit is contained in:
Imbris authored and Dzmitry Malyshau committed 2021-08-17 13:57:29 -04:00
1 parent ee3b85928e
commit 6ba30cbc0b
2 files changed
+10 -10

No files matched your search

+2 -2
View File
@@ -138,7 +138,7 @@ jobs:
if: matrix.kind == 'test'
run: |
cargo build --target ${{ matrix.target }} --bin wgpu-info
cargo build --target ${{ matrix.target }} --tests -p player
cargo build --target ${{ matrix.target }} --tests --workspace --exclude wgpu
cargo build --target ${{ matrix.target }} --examples --tests -p wgpu
- name: tests
@@ -148,7 +148,7 @@ jobs:
cargo run --target ${{ matrix.target }} --bin wgpu-info
# run player tests
cargo test --target ${{ matrix.target }} -p player -- --nocapture
cargo test --target ${{ matrix.target }} --workspace --exclude wpgu --no-fail-fast -- --nocapture
# run coretests
cargo run --target ${{ matrix.target }} --bin wgpu-info -- cargo test --target ${{ matrix.target }} -p wgpu --no-fail-fast -- --nocapture --test-threads=1 # GLES is currently non-multithreadable