Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf470add

Browse files
committed
Use uv run
1 parent6c956e8 commitf470add

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

‎.github/workflows/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,33 +67,33 @@ jobs:
6767
-name:Set Python DLL path and PYTHONHOME (non Windows)
6868
if:${{ matrix.os.category != 'windows' }}
6969
run:|
70-
echo PYTHONNET_PYDLL=$(find_libpython) >> $GITHUB_ENV
70+
echo PYTHONNET_PYDLL=$(uv runfind_libpython) >> $GITHUB_ENV
7171
7272
-name:Set Python DLL path and PYTHONHOME (Windows)
7373
if:${{ matrix.os.category == 'windows' }}
7474
run:|
75-
Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append -InputObject "PYTHONNET_PYDLL=$(find_libpython)"
75+
Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append -InputObject "PYTHONNET_PYDLL=$(uv runfind_libpython)"
7676
7777
-name:Embedding tests
78-
run:dotnet test --runtime any-${{ matrix.os.platform }} --logger "console;verbosity=detailed" src/embed_tests/
78+
run:uv rundotnet test --runtime any-${{ matrix.os.platform }} --logger "console;verbosity=detailed" src/embed_tests/
7979
env:
8080
MONO_THREADS_SUSPEND:preemptive# https://github.com/mono/mono/issues/21466
8181

8282
-name:Python Tests (Mono)
8383
if:${{ matrix.os.category != 'windows' }}
84-
run:pytest --runtime mono
84+
run:uv runpytest --runtime mono
8585

8686
# TODO: Run these tests on Windows x86
8787
-name:Python Tests (.NET Core)
8888
if:${{ matrix.os.platform == 'x64' }}
89-
run:pytest --runtime coreclr
89+
run:uv runpytest --runtime coreclr
9090

9191
-name:Python Tests (.NET Framework)
9292
if:${{ matrix.os.category == 'windows' }}
93-
run:pytest --runtime netfx
93+
run:uv runpytest --runtime netfx
9494

9595
-name:Python tests run from .NET
96-
run:dotnet test --runtime any-${{ matrix.os.platform }} src/python_tests_runner/
96+
run:uv rundotnet test --runtime any-${{ matrix.os.platform }} src/python_tests_runner/
9797

9898
-name:Perf tests
9999
if:${{ (matrix.python == '3.8') && (matrix.os.platform == 'x64') }}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp