[CI] Speed up install phase by using uv

This commit is contained in:
Fabian Joswig 2025-01-09 09:51:42 +01:00
parent c057ecffda
commit dd78ee44ad

View file

@ -30,17 +30,14 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
uses: astral-sh/setup-uv@v5
- name: Install
run: |
python -m pip install --upgrade pip
pip install wheel
pip install .
pip install pytest
pip install pytest-cov
pip install pytest-benchmark
pip install hypothesis
pip freeze
uv pip install wheel
uv pip install .
uv pip install pytest pytest-cov pytest-benchmark hypothesis
uv pip freeze
- name: Run tests
run: pytest --cov=pyerrors -vv