Skip to content

Commit 0ced4e6

Browse files
committed
Use uv run for tests that might need PYTHONHOME
1 parent a03ca40 commit 0ced4e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@ jobs:
9494
run: pytest --runtime netfx
9595

9696
- name: Python tests run from .NET
97-
run: dotnet test --runtime any-${{ matrix.os.platform }} src/python_tests_runner/
97+
run: uv run dotnet test --runtime any-${{ matrix.os.platform }} src/python_tests_runner/
9898

9999
- name: Perf tests
100100
if: ${{ (matrix.python == '3.8') && (matrix.os.platform == 'x64') }}
101101
run: |
102102
uv pip install --force --no-deps --target src/perf_tests/baseline/ pythonnet==2.5.2
103-
dotnet test --configuration Release --runtime any-${{ matrix.os.platform }} --logger "console;verbosity=detailed" src/perf_tests/
103+
uv run dotnet test --configuration Release --runtime any-${{ matrix.os.platform }} --logger "console;verbosity=detailed" src/perf_tests/
104104
# TODO: Run mono tests on Windows?

0 commit comments

Comments
 (0)