mirror of https://github.com/astral-sh/uv
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
|
|
@ -80,8 +80,21 @@ jobs:
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
save-if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
- name: "Cargo Test"
|
- name: "Cargo test"
|
||||||
run: cargo nextest run --all --status-level skip --failure-output immediate-final --no-fail-fast -j 12 --final-status-level slow
|
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
|
# Separate job for the nightly crate
|
||||||
windows-trampoline:
|
windows-trampoline:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue