Use cargo build --tests
in CI
This commit is contained in:
parent
464edbed05
commit
2f7f1393c9
2 changed files with 2 additions and 2 deletions
2
.github/workflows/clippy.yml
vendored
2
.github/workflows/clippy.yml
vendored
|
@ -50,7 +50,7 @@ jobs:
|
||||||
echo "LD_LIBRARY_PATH=${SYSROOT}/lib${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}" >> $GITHUB_ENV
|
echo "LD_LIBRARY_PATH=${SYSROOT}/lib${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --features deny-warnings,internal
|
run: cargo build --tests --features deny-warnings,internal
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: cargo test --features deny-warnings,internal
|
run: cargo test --features deny-warnings,internal
|
||||||
|
|
2
.github/workflows/clippy_bors.yml
vendored
2
.github/workflows/clippy_bors.yml
vendored
|
@ -106,7 +106,7 @@ jobs:
|
||||||
echo "$SYSROOT/bin" >> $GITHUB_PATH
|
echo "$SYSROOT/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --features deny-warnings,internal
|
run: cargo build --tests --features deny-warnings,internal
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue