Skip to content

Commit 5755850

Browse files
committed
Clean up justfile related testing
Signed-off-by: Ludvig Liljenberg <[email protected]>
1 parent 8df033a commit 5755850

File tree

6 files changed

+116
-86
lines changed

6 files changed

+116
-86
lines changed

Diff for: .github/workflows/dep_rust.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
run: just build-and-move-c-guests
8686

8787
- name: Build
88-
run: just build-rust ${{ matrix.config }}
88+
run: just build ${{ matrix.config }}
8989

9090
- name: Verify MSRV
9191
run: ./dev/verify-msrv.sh hyperlight-host hyperlight-guest hyperlight-common
@@ -95,18 +95,18 @@ jobs:
9595
CARGO_TERM_COLOR: always
9696
run: |
9797
# with default features
98-
just test-rust ${{ matrix.config }} ${{ matrix.hypervisor == 'mshv3' && 'mshv3' || ''}}
98+
just test ${{ matrix.config }} ${{ matrix.hypervisor == 'mshv3' && 'mshv3' || ''}}
9999
100100
# with only one driver enabled (driver mshv/kvm feature is ignored on windows) + seccomp + inprocess
101-
just test-rust ${{ matrix.config }} inprocess,seccomp,${{ matrix.hypervisor == 'mshv' && 'mshv2' || matrix.hypervisor == 'mshv3' && 'mshv3' || 'kvm' }}
101+
just test ${{ matrix.config }} inprocess,seccomp,${{ matrix.hypervisor == 'mshv' && 'mshv2' || matrix.hypervisor == 'mshv3' && 'mshv3' || 'kvm' }}
102102
103103
# make sure certain cargo features compile
104104
cargo check -p hyperlight-host --features crashdump
105105
cargo check -p hyperlight-host --features print_debug
106106
cargo check -p hyperlight-host --features gdb
107107
108108
# without any driver (shouldn't compile)
109-
just test-rust-feature-compilation-fail ${{ matrix.config }}
109+
just test-compilation-fail ${{ matrix.config }}
110110
111111
# One of the examples is flaky on Windows GH runners, so this allows us to disable it for now
112112
- name: Run Rust examples - windows

0 commit comments

Comments
 (0)