[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 uses: actions/setup-python@v5
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
uses: astral-sh/setup-uv@v5
- name: Install - name: Install
run: | run: |
python -m pip install --upgrade pip uv pip install wheel
pip install wheel uv pip install .
pip install . uv pip install pytest pytest-cov pytest-benchmark hypothesis
pip install pytest uv pip freeze
pip install pytest-cov
pip install pytest-benchmark
pip install hypothesis
pip freeze
- name: Run tests - name: Run tests
run: pytest --cov=pyerrors -vv run: pytest --cov=pyerrors -vv