diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 670e61d6..5d364c25 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -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: | @@ -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: |