diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4d7463f..c64dde1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,11 +32,16 @@ jobs: with: python-version: ${{ matrix.python-version }} - - name: Install uv installer + - name: Install uv installer on Unix + if: runner.os != 'Windows' run: curl -LsSf https://astral.sh/uv/install.sh | sh + - name: Install uv installer on Windows + if: runner.os == 'Windows' + run: powershell -c "irm https://astral.sh/uv/install.ps1 | iex" + - name: Install package - run: uv pip install --system "harmonwig @ .[dev]" + run: uv pip install --system "harmonwig[dev] @ ." - name: Test package run: pytest -ra --cov --cov-report=xml --cov-report=term