| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -36,7 +36,7 @@ jobs: | |||
| 36 | 36 | ||
| 37 | 37 | - name: Set Python DLL path (non Windows) | |
| 38 | 38 | run: | | |
| 39 | - python -m pythonnet.find_libpython --export >> $GITHUB_ENV | ||
| 39 | + echo PYTHONNET_PYDLL=$(python -m find_libpython) >> $GITHUB_ENV | ||
| 40 | 40 | ||
| 41 | 41 | - name: Embedding tests | |
| 42 | 42 | run: dotnet test --logger "console;verbosity=detailed" src/embed_tests/ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -57,12 +57,12 @@ jobs: | |||
| 57 | 57 | - name: Set Python DLL path (non Windows) | |
| 58 | 58 | if: ${{ matrix.os != 'windows' }} | |
| 59 | 59 | run: | | |
| 60 | - python -m pythonnet.find_libpython --export >> $GITHUB_ENV | ||
| 60 | + echo PYTHONNET_PYDLL=$(python -m find_libpython) >> $GITHUB_ENV | ||
| 61 | 61 | ||
| 62 | 62 | - name: Set Python DLL path (Windows) | |
| 63 | 63 | if: ${{ matrix.os == 'windows' }} | |
| 64 | 64 | run: | | |
| 65 | - python -m pythonnet.find_libpython --export | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append | ||
| 65 | + Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append -InputObject "PYTHONNET_PYDLL=$(python -m find_libpython)" | ||
| 66 | 66 | ||
| 67 | 67 | - name: Embedding tests | |
| 68 | 68 | run: dotnet test --runtime any-${{ matrix.platform }} --logger "console;verbosity=detailed" src/embed_tests/ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -46,7 +46,7 @@ jobs: | |||
| 46 | 46 | - name: Set Python DLL path (non Windows) | |
| 47 | 47 | if: ${{ matrix.os != 'windows' }} | |
| 48 | 48 | run: | | |
| 49 | - python -m pythonnet.find_libpython --export >> $GITHUB_ENV | ||
| 49 | + echo PYTHONNET_PYDLL=$(python -m find_libpython) >> $GITHUB_ENV | ||
| 50 | 50 | ||
| 51 | 51 | - name: Python Tests | |
| 52 | 52 | run: pytest | |
| Back | FazBrowse Home | New Git URL |
0 commit comments