Skip to content

Commit 1a42f8e

Browse files
committed
Test the feature gates on CI
1 parent 0417bbd commit 1a42f8e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ jobs:
6262
- name: Run integration tests
6363
run: cargo test
6464

65+
# test feature gates (only on one OS is enough)
66+
- name: Test with only UEFI feature
67+
if: runner.os == 'Linux'
68+
run: cargo test --no-default-features --features uefi
69+
- name: Test with only BIOS feature
70+
if: runner.os == 'Linux'
71+
run: cargo test --no-default-features --features bios
72+
6573
fmt:
6674
name: Check Formatting
6775
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)