Use `cargo build --tests` in CI

This commit is contained in:
Alex Macleod 2023-06-30 21:34:28 +00:00
parent 464edbed05
commit 2f7f1393c9
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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'