| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -54,15 +54,17 @@ jobs: | |||
| 54 | 54 | run: | | |
| 55 | 55 | pip install -v . | |
| 56 | 56 | ||
| 57 | - - name: Set Python DLL path (non Windows) | ||
| 57 | + - name: Set Python DLL path and PYTHONHOME (non Windows) | ||
| 58 | 58 | if: ${{ matrix.os != 'windows' }} | |
| 59 | 59 | run: | | |
| 60 | 60 | echo PYTHONNET_PYDLL=$(python -m find_libpython) >> $GITHUB_ENV | |
| 61 | + echo PYTHONHOME=$(python -c 'import sys; print(sys.prefix)') >> $GITHUB_ENV | ||
| 61 | 62 | ||
| 62 | - - name: Set Python DLL path (Windows) | ||
| 63 | + - name: Set Python DLL path and PYTHONHOME (Windows) | ||
| 63 | 64 | if: ${{ matrix.os == 'windows' }} | |
| 64 | 65 | run: | | |
| 65 | 66 | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append -InputObject "PYTHONNET_PYDLL=$(python -m find_libpython)" | |
| 67 | + Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append -InputObject "PYTHONHOME=$(python -c 'import sys; print(sys.prefix)')" | ||
| 66 | 68 | ||
| 67 | 69 | - name: Embedding tests | |
| 68 | 70 | run: dotnet test --runtime any-${{ matrix.platform }} --logger "console;verbosity=detailed" src/embed_tests/ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments