mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
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:
parent
b317e6fc56
commit
3b70b42f16
1 changed files with 15 additions and 2 deletions
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue