Skip to content

Commit 678c8d0

Browse files
committed
ci: test with and without unstable features
The unit test for make_boxed has different behaviour with and without the unstable feature. Thus, we need to test both variants.
1 parent dbc0e06 commit 678c8d0

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/rust.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
sudo apt-get update
4545
sudo apt-get install qemu-system-x86 ovmf -y
4646
47-
- name: Build
47+
- name: Build (without unstable)
4848
run: cargo xtask build --target x86_64
4949

5050
- name: Run VM tests
@@ -77,9 +77,14 @@ jobs:
7777
- name: Checkout sources
7878
uses: actions/checkout@v2
7979

80-
- name: Run cargo test
80+
- name: Run cargo test (without unstable)
8181
run: cargo xtask test
8282

83+
# At least one unit test, for make_boxed() currently, has different behaviour dependent on
84+
# the unstable feature.
85+
- name: Run cargo test (with unstable)
86+
run: cargo xtask test --include-unstable
87+
8388
lints:
8489
name: Lints
8590
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)