File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 44
44
45
45
steps :
46
46
- uses : actions/checkout@v4
47
+ - uses : astral-sh/setup-uv@v4
47
48
- name : " Set up Python ${{ matrix.python-version }}"
48
49
uses : actions/setup-python@v5
49
50
with :
@@ -53,16 +54,17 @@ jobs:
53
54
run : sudo apt-get install valgrind -y
54
55
- name : Install dependencies with pytest${{ matrix.pytest-version }}
55
56
run : |
56
- pip install .[dev,compat,build] "pytest${{ matrix.pytest-version }}"
57
- pip uninstall -y pytest-benchmark
57
+ uv sync --all-extras --dev --locked
58
+ uv pip install "pytest${{ matrix.pytest-version }}"
59
+ uv pip uninstall -y pytest-benchmark
58
60
- if : matrix.config == 'pytest-benchmark-4'
59
61
name : Install pytest-benchmark 4.0.0
60
- run : pip install pytest-benchmark~=4.0.0
62
+ run : uv pip install pytest-benchmark~=4.0.0
61
63
- if : matrix.config == 'pytest-benchmark-5'
62
64
name : Install pytest-benchmark 5.0.0
63
- run : pip install pytest-benchmark~=5.0.0
65
+ run : uv pip install pytest-benchmark~=5.0.0
64
66
- name : Run tests
65
- run : pytest -vs
67
+ run : uv run --no-sync pytest -vs
66
68
67
69
all-checks :
68
70
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments