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

Commit478023d

Browse files
committed
only set PYTHONNET_PYDLL for test runs from .NET
1 parentbae560a commit478023d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ jobs:
4242

4343
env:
4444
PYTHONNET_SHUTDOWN_MODE:${{ matrix.SHUTDOWN_MODE }}
45-
PYTHONNET_PYDLL:${{ matrix.DLL_PREFIX }}python${{matrix.DLL_PYVER_MAJOR}}${{matrix.PYVER_MINOR}}${{matrix.DLL_SUFFIX}}${{matrix.DLL_EXT}}
4645

4746
steps:
4847
-name:Set Environment on macOS
@@ -78,10 +77,14 @@ jobs:
7877
-name:Embedding tests
7978
run:dotnet test --runtime any-${{ matrix.platform }} src/embed_tests/
8079
if:${{ matrix.os != 'macos' }}# Not working right now, doesn't find libpython
80+
env:
81+
PYTHONNET_PYDLL:${{ matrix.DLL_PREFIX }}python${{matrix.DLL_PYVER_MAJOR}}${{matrix.PYVER_MINOR}}${{matrix.DLL_SUFFIX}}${{matrix.DLL_EXT}}
8182

8283
-name:Python tests run from .NET
8384
run:dotnet test --runtime any-${{ matrix.platform }} src/python_tests_runner/
8485
if:${{ matrix.os == 'windows' }}# Not working for others right now
86+
env:
87+
PYTHONNET_PYDLL:${{ matrix.DLL_PREFIX }}python${{matrix.DLL_PYVER_MAJOR}}${{matrix.PYVER_MINOR}}${{matrix.DLL_SUFFIX}}${{matrix.DLL_EXT}}
8588

8689
# TODO: Run perf tests
8790
# TODO: Run mono tests on Windows?

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp