File tree Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -52,10 +52,35 @@ jobs:
52
52
run : ./build.py build
53
53
working-directory : ./uefi-test-runner
54
54
55
- - name : Run tests
55
+ - name : Run VM tests
56
56
run : ./build.py run --headless --ci
57
57
working-directory : ./uefi-test-runner
58
58
59
+ test :
60
+ name : Run tests and documentation tests
61
+ runs-on : ubuntu-latest
62
+ steps :
63
+ - name : Checkout sources
64
+ uses : actions/checkout@v2
65
+
66
+ - name : Install latest nightly
67
+ uses : actions-rs/toolchain@v1
68
+ with :
69
+ profile : minimal
70
+ toolchain : nightly
71
+ components : rust-src
72
+ override : true
73
+
74
+ - name : Run cargo test
75
+ uses : actions-rs/cargo@v1
76
+ env :
77
+ # This works around "duplicate item in crate core" errors:
78
+ # https://github.com/rust-lang/wg-cargo-std-aware/issues/56
79
+ CARGO_PROFILE_DEV_PANIC : unwind
80
+ with :
81
+ command : test
82
+ args : -Zbuild-std=std --target x86_64-unknown-linux-gnu
83
+
59
84
lints :
60
85
name : Lints
61
86
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments