Skip to content

Commit

Permalink
Fix uv github action
Browse files Browse the repository at this point in the history
  • Loading branch information
wummel committed Nov 4, 2024
1 parent efbb449 commit 9e47d29
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ jobs:
run: echo "UV_PYTHON=${{ matrix.python-version }}" >> $GITHUB_ENV

- name: Install Python ${{ matrix.python-version }}
run: |
uv python install "${{ matrix.python-version }}"
run: uv python install "${{ matrix.python-version }}"

- name: Install ruff
run: |
Expand All @@ -54,9 +53,11 @@ jobs:
sudo apt-get update &&
sudo apt-get install arc archmage arj binutils bzip2 cabextract lzip lz4 plzip clzip pdlzip cpio flac genisoimage lbzip2 libarchive-tools lhasa lrzip lzop ncompress nomarch pbzip2 p7zip-full rpm2cpio unzip unace unalz unar sharutils tar xdms zip zopfli zstd
- name: Install development dependencies
run: |
uv sync --only-dev
- name: Install virtual environment
run: uv venv

- name: Install test modules
run: uv pip install pytest pytest-xdist[psutil] pytest-randomly

- name: Test with pytest
run: |
Expand Down

0 comments on commit 9e47d29

Please sign in to comment.