@@ -58,42 +58,43 @@ jobs:
5858 dotnet-version : ' 6.0.x'
5959
6060 - name : Install the latest version of uv
61- uses : astral-sh/setup-uv@v5
61+ uses : astral-sh/setup-uv@v6
6262 with :
6363 architecture : ${{ matrix.os.platform }}
6464 python-version : ${{ matrix.python }}
65+ activate-environment : true
6566 enable-cache : true
6667
6768 - name : Set Python DLL path and PYTHONHOME (non Windows)
6869 if : ${{ matrix.os.category != 'windows' }}
6970 run : |
70- echo PYTHONNET_PYDLL=$(uv run find_libpython) >> $GITHUB_ENV
71+ echo PYTHONNET_PYDLL=$(find_libpython) >> $GITHUB_ENV
7172
7273 - name : Set Python DLL path and PYTHONHOME (Windows)
7374 if : ${{ matrix.os.category == 'windows' }}
7475 run : |
75- Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append -InputObject "PYTHONNET_PYDLL=$(uv run find_libpython)"
76+ Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append -InputObject "PYTHONNET_PYDLL=$(find_libpython)"
7677
7778 - name : Embedding tests
78- run : uv run dotnet test --runtime any-${{ matrix.os.platform }} --logger "console;verbosity=detailed" src/embed_tests/
79+ run : dotnet test --runtime any-${{ matrix.os.platform }} --logger "console;verbosity=detailed" src/embed_tests/
7980 env :
8081 MONO_THREADS_SUSPEND : preemptive # https://github.com/mono/mono/issues/21466
8182
8283 - name : Python Tests (Mono)
8384 if : ${{ matrix.os.category != 'windows' }}
84- run : uv run pytest --runtime mono
85+ run : pytest --runtime mono
8586
8687 # TODO: Run these tests on Windows x86
8788 - name : Python Tests (.NET Core)
8889 if : ${{ matrix.os.platform == 'x64' }}
89- run : uv run pytest --runtime coreclr
90+ run : pytest --runtime coreclr
9091
9192 - name : Python Tests (.NET Framework)
9293 if : ${{ matrix.os.category == 'windows' }}
93- run : uv run pytest --runtime netfx
94+ run : pytest --runtime netfx
9495
9596 - name : Python tests run from .NET
96- run : uv run dotnet test --runtime any-${{ matrix.os.platform }} src/python_tests_runner/
97+ run : dotnet test --runtime any-${{ matrix.os.platform }} src/python_tests_runner/
9798
9899 - name : Perf tests
99100 if : ${{ (matrix.python == '3.8') && (matrix.os.platform == 'x64') }}
0 commit comments