mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-16 12:33:41 +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
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue