@@ -58,12 +58,17 @@ jobs:
5858 -name :Set up Python ${{ matrix.python }}
5959uses :astral-sh/setup-uv@v7
6060with :
61+ architecture :${{ matrix.os.platform }}
6162python-version :${{ matrix.python }}
63+ cache-python :true
6264activate-environment :true
6365enable-cache :true
6466
6567 -name :Synchronize the virtual environment
66- run :uv sync
68+ run :uv sync --managed-python
69+
70+ -name :Show pyvenv.cfg
71+ run :cat .venv/pyvenv.cfg
6772
6873 -name :Embedding tests (Mono/.NET Framework)
6974run :dotnet test --runtime any-${{ matrix.os.platform }} --framework net472 --logger "console;verbosity=detailed" src/embed_tests/
@@ -77,14 +82,14 @@ jobs:
7782
7883 -name :Python Tests (Mono)
7984if :${{ matrix.os.category != 'windows' }}
80- run :python -m pytest --runtime mono
85+ run :pytest --runtime mono
8186
8287 -name :Python Tests (.NET Core)
83- run :python -m pytest --runtime coreclr
88+ run :pytest --runtime coreclr
8489
8590 -name :Python Tests (.NET Framework)
8691if :${{ matrix.os.category == 'windows' }}
87- run :python -m pytest --runtime netfx
92+ run :pytest --runtime netfx
8893
8994 -name :Python tests run from .NET
9095run :dotnet test --runtime any-${{ matrix.os.platform }} src/python_tests_runner/