From 69014c56e46b848932a47b7fb11d1c19383ce74b Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Fri, 19 Apr 2024 18:56:22 -0400 Subject: [PATCH] Update test.yml Signed-off-by: Jinzhe Zeng --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f655173f..341baf49 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,6 +26,9 @@ jobs: with: python-version: ${{ matrix.python-version }} - run: curl -LsSf https://astral.sh/uv/install.sh | sh + if: matrix.platform != "windows-latest" + - run: powershell -c "irm https://astral.sh/uv/install.ps1 | iex" + if: matrix.platform == "windows-latest" - run: uv pip install --system .[test] coverage - name: Test run: |