Add smoke test to CI (#1611)

Similar idea to #1356 

Attempting to reproduce
https://github.com/astral-sh/uv/issues/1521#issuecomment-1949299848
This commit is contained in:
Zanie Blue 2024-02-18 15:45:07 -06:00 committed by GitHub
parent b317e6fc56
commit 3b70b42f16
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -80,8 +80,21 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: "Cargo Test"
run: cargo nextest run --all --status-level skip --failure-output immediate-final --no-fail-fast -j 12 --final-status-level slow
- name: "Cargo test"
run: |
cargo nextest run --workspace --status-level skip --failure-output immediate-final --no-fail-fast -j 12 --final-status-level slow
- name: "Smoke test"
if: ${{ matrix.os != 'windows' }}
run: |
uv="./target/debug/uv"
$uv venv
$uv pip install ruff
- name: "Smoke test"
if: ${{ matrix.os == 'windows' }}
run: |
Set-Alias -Name uv -Value ./target/debug/uv
uv venv
uv pip install ruff
# Separate job for the nightly crate
windows-trampoline: