Skip to content

Commit

Permalink
fix dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz authored Oct 5, 2024
1 parent 089d976 commit 229abf7
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: astral-sh/setup-uv@v3 with: enable-cache: true cache-dependency-glob: | **/requirements*.txt **/pyproject.toml
if: matrix.platform != 'windows-latest'
- run: powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
if: matrix.platform == 'windows-latest'
- uses: astral-sh/setup-uv@v3
with:
enable-cache: true
cache-dependency-glob: |
**/requirements*.txt
**/pyproject.toml
- run: uv pip install --system .[test] coverage
- name: Test
run: |
Expand Down

0 comments on commit 229abf7

Please sign in to comment.