Skip to content

Commit

Permalink
Proper installer on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhollas committed Feb 28, 2024
1 parent 03204b4 commit f81b2b4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f81b2b4

Please sign in to comment.