Skip to content

Commit c957725

Browse files
committed
Call python -m pytest instead of the script directly
1 parent 90b62cc commit c957725

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,16 +76,16 @@ jobs:
7676

7777
- name: Python Tests (Mono)
7878
if: ${{ matrix.os.category != 'windows' }}
79-
run: uv run pytest --runtime mono
79+
run: uv run python -m pytest --runtime mono
8080

8181
# TODO: Run these tests on Windows x86
8282
- name: Python Tests (.NET Core)
8383
if: ${{ matrix.os.platform == 'x64' }}
84-
run: uv run pytest --runtime coreclr
84+
run: uv run python -m pytest --runtime coreclr
8585

8686
- name: Python Tests (.NET Framework)
8787
if: ${{ matrix.os.category == 'windows' }}
88-
run: uv run pytest --runtime netfx
88+
run: uv run python -m pytest --runtime netfx
8989

9090
- name: Python tests run from .NET
9191
run: uv run dotnet test --runtime any-${{ matrix.os.platform }} src/python_tests_runner/

0 commit comments

Comments
 (0)