Skip to content

Commit 2f7f139

Browse files
committed
Use cargo build --tests in CI
1 parent 464edbe commit 2f7f139

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/clippy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
echo "LD_LIBRARY_PATH=${SYSROOT}/lib${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}" >> $GITHUB_ENV
5151
5252
- name: Build
53-
run: cargo build --features deny-warnings,internal
53+
run: cargo build --tests --features deny-warnings,internal
5454

5555
- name: Test
5656
run: cargo test --features deny-warnings,internal

.github/workflows/clippy_bors.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
echo "$SYSROOT/bin" >> $GITHUB_PATH
107107
108108
- name: Build
109-
run: cargo build --features deny-warnings,internal
109+
run: cargo build --tests --features deny-warnings,internal
110110

111111
- name: Test
112112
if: runner.os == 'Linux'

0 commit comments

Comments
 (0)