mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 11:33:42 +02:00
[CI] Speed up install phase by using uv
This commit is contained in:
parent
c057ecffda
commit
dd78ee44ad
1 changed files with 5 additions and 8 deletions
13
.github/workflows/pytest.yml
vendored
13
.github/workflows/pytest.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue