File tree Expand file tree Collapse file tree 1 file changed +38
-24
lines changed Expand file tree Collapse file tree 1 file changed +38
-24
lines changed Original file line number Diff line number Diff line change @@ -152,23 +152,25 @@ jobs:
152152
153153 - name : Run tests
154154 run : |
155- uv run --extra=dev pytest \
156- -s \
157- -vvv \
158- --showlocals \
159- --exitfirst \
160- --cov-append \
161- --cov=src/ \
162- --cov=tests/ \
163- ${{ matrix.ci_pattern }}
155+ uv run --extra=dev \
156+ coverage run \
157+ --parallel-mode \
158+ --source=src/ \
159+ --source=tests/ \
160+ -m pytest \
161+ -s \
162+ -vvv \
163+ --showlocals \
164+ --exitfirst \
165+ ${{ matrix.ci_pattern }}
164166 env :
165167 UV_PYTHON : ${{ matrix.python-version }}
166168
167169 - name : Upload coverage data
168170 uses : actions/upload-artifact@v4
169171 with :
170- name : coverage-data-ci-${{ matrix.python-version }}-${{ matrix.ci_pattern
171- }}
172+ name : |
173+ coverage-data-ci-${{ matrix.python-version }}-${{ matrix.ci_pattern }}
172174 path : .coverage.*
173175 include-hidden-files : true
174176 if-no-files-found : error
@@ -196,18 +198,20 @@ jobs:
196198
197199 - name : Run tests
198200 run : |
199- uv run --extra=dev pytest \
200- --skip-docker_build_tests \
201- --skip-docker_in_memory \
202- --skip-mock \
203- --skip-real \
204- --capture=no \
205- -vvv \
206- --exitfirst \
207- --cov-append \
208- --cov=src/ \
209- --cov=tests/ \
210- .
201+ uv run --extra=dev \
202+ coverage run \
203+ --parallel-mode \
204+ --source=src/ \
205+ --source=tests/ \
206+ -m pytest \
207+ --skip-docker_build_tests \
208+ --skip-docker_in_memory \
209+ --skip-mock \
210+ --skip-real \
211+ --capture=no \
212+ -vvv \
213+ --exitfirst \
214+ .
211215 env :
212216 UV_PYTHON : ${{ matrix.python-version }}
213217
@@ -243,7 +247,17 @@ jobs:
243247 run : |
244248 # We use pytest-xdist to make this run much faster.
245249 # The downside is that we cannot use -s / --capture=no.
246- uv run --extra=dev pytest --skip-real -vvv --exitfirst -n auto --cov-append --cov=src/ --cov=tests/ .
250+ uv run --extra=dev \
251+ coverage run \
252+ --parallel-mode \
253+ --source=src/ \
254+ --source=tests/ \
255+ -m pytest \
256+ --skip-real \
257+ -vvv \
258+ --exitfirst \
259+ -n auto \
260+ .
247261 env :
248262 UV_PYTHON : ${{ matrix.python-version }}
249263
You can’t perform that action at this time.
0 commit comments