Skip to content

Commit 67beda3

Browse files
Fabian-Gruenbichlerfolkertdev
authored andcommitted
ci: ensure cargo test doesn't break for allocator features
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
1 parent 915a1ee commit 67beda3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/checks.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,13 @@ jobs:
125125
- name: cargo build
126126
run: cargo build --target ${{matrix.target}} ${{ matrix.flags }}
127127

128+
# ensure tests for "real" features work standalone
129+
- name: cargo test --no-default-features --features ...
130+
run: |
131+
cargo test --target ${{matrix.target}} ${{ matrix.flags }} --no-default-features --features c-allocator
132+
cargo test --target ${{matrix.target}} ${{ matrix.flags }} --no-default-features --features rust-allocator
133+
134+
128135
# run tests
129136
- name: cargo llvm-cov nextest
130137
if: matrix.codecov

0 commit comments

Comments
 (0)