From 3b70b42f160eee8a0dbb74436cccb0f6e8ea8979 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Sun, 18 Feb 2024 15:45:07 -0600 Subject: [PATCH] Add smoke test to CI (#1611) Similar idea to #1356 Attempting to reproduce https://github.com/astral-sh/uv/issues/1521#issuecomment-1949299848 --- .github/workflows/ci.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 894774b06..d49931868 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: