Skip to content

Commit 4feb060

Browse files
committed
Use --no-project with uv run
1 parent 5c8c5f8 commit 4feb060

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/third_party.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
run: cd typing_inspect; uv pip freeze
104104
- name: Run typing_inspect tests
105105
run: |
106-
cd typing_inspect; uv run pytest
106+
cd typing_inspect; uv run --no-project pytest
107107
108108
pycroscope:
109109
name: pycroscope tests
@@ -138,7 +138,7 @@ jobs:
138138
run: cd pycroscope; uv pip freeze
139139
- name: Run pycroscope tests
140140
run: |
141-
cd pycroscope; uv run pytest pycroscope/
141+
cd pycroscope; uv run --no-project pytest pycroscope/
142142
143143
typeguard:
144144
name: typeguard tests
@@ -174,7 +174,7 @@ jobs:
174174
- name: Run typeguard tests
175175
run: |
176176
export PYTHON_COLORS=0 # A test fails if tracebacks are colorized
177-
cd typeguard; uv run pytest
177+
cd typeguard; uv run --no-project pytest
178178
179179
typed-argument-parser:
180180
name: typed-argument-parser tests
@@ -216,7 +216,7 @@ jobs:
216216
run: cd typed-argument-parser; uv pip freeze
217217
- name: Run typed-argument-parser tests
218218
run: |
219-
cd typed-argument-parser; uv run pytest
219+
cd typed-argument-parser; uv run --no-project pytest
220220
221221
mypy:
222222
name: stubtest & mypyc tests
@@ -252,7 +252,7 @@ jobs:
252252
run: cd mypy; uv pip freeze
253253
- name: Run stubtest & mypyc tests
254254
run: |
255-
cd mypy; uv run pytest -n 2 ./mypy/test/teststubtest.py ./mypyc/test/test_run.py ./mypyc/test/test_external.py
255+
cd mypy; uv run --no-project pytest -n 2 ./mypy/test/teststubtest.py ./mypyc/test/test_run.py ./mypyc/test/test_external.py
256256
257257
cattrs:
258258
name: cattrs tests

0 commit comments

Comments
 (0)