ci: use `cargo test --workspace`
@@ -97,16 +97,10 @@ jobs:
- uses: actions/checkout@v3
- name: Setup Rust toolchain
run: rustup show
- - run: cargo test ${{ matrix.profile.flag }} --target x86_64-unknown-linux-gnu --manifest-path ${{ matrix.crate.path }}/Cargo.toml
+ - run: cargo test ${{ matrix.profile.flag }} --workspace --target x86_64-unknown-linux-gnu
strategy:
fail-fast: false
matrix:
- crate:
- - { name: enarx-config, path: crates/enarx-config }
- - { name: exec-wasmtime, path: crates/exec-wasmtime }
- - { name: shim-kvm, path: crates/shim-kvm }
- - { name: shim-sgx, path: crates/shim-sgx }
- - { name: sallyport, path: crates/sallyport }
profile:
- name: debug
- name: release
