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:
5252 run : ./build.py build
5353 working-directory : ./uefi-test-runner
5454
55- - name : Run tests
55+ - name : Run VM tests
5656 run : ./build.py run --headless --ci
5757 working-directory : ./uefi-test-runner
5858
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+
5984 lints :
6085 name : Lints
6186 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments