diff options
| author | Alex Macleod <alex@macleod.io> | 2023-06-30 21:34:28 +0000 |
|---|---|---|
| committer | Alex Macleod <alex@macleod.io> | 2023-06-30 21:34:28 +0000 |
| commit | 2f7f1393c9623e7d36297b0cd7534a43cc8bb091 (patch) | |
| tree | e535fc64a41547b1a479f6d2d448fd78fece1100 | |
| parent | 464edbed05625094f0f73c1ca720bf1d7f5d9380 (diff) | |
| download | rust-2f7f1393c9623e7d36297b0cd7534a43cc8bb091.tar.gz rust-2f7f1393c9623e7d36297b0cd7534a43cc8bb091.zip | |
Use `cargo build --tests` in CI
| -rw-r--r-- | .github/workflows/clippy.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/clippy_bors.yml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index c582c28cd3c..410ff53a251 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -50,7 +50,7 @@ jobs: echo "LD_LIBRARY_PATH=${SYSROOT}/lib${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}" >> $GITHUB_ENV - name: Build - run: cargo build --features deny-warnings,internal + run: cargo build --tests --features deny-warnings,internal - name: Test run: cargo test --features deny-warnings,internal diff --git a/.github/workflows/clippy_bors.yml b/.github/workflows/clippy_bors.yml index d5ab313ba0e..4eb11a3ac85 100644 --- a/.github/workflows/clippy_bors.yml +++ b/.github/workflows/clippy_bors.yml @@ -106,7 +106,7 @@ jobs: echo "$SYSROOT/bin" >> $GITHUB_PATH - name: Build - run: cargo build --features deny-warnings,internal + run: cargo build --tests --features deny-warnings,internal - name: Test if: runner.os == 'Linux' |
