File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -37,20 +37,22 @@ jobs:
3737 - name : Install dependencies
3838 run : |
3939 pip install --upgrade -r requirements.txt
40+ pip install numpy # for tests
4041
4142 - name : Build and Install
4243 run : |
4344 pip install -v .
4445
46+ - name : Set Python DLL path (non Windows)
47+ if : ${{ matrix.os != 'windows' }}
48+ run : |
49+ python -m pythonnet.find_libpython --export >> $GITHUB_ENV
50+
4551 - name : Python Tests
4652 run : pytest
47- env :
48- PYTHONNET_PYDLL : libpython3.8.so
4953
5054 - name : Embedding tests
5155 run : dotnet test --runtime any-ubuntu src/embed_tests/
52- env :
53- PYTHONNET_PYDLL : libpython3.8.so
5456
5557 - name : Pack
5658 run : dotnet pack --configuration Release --version-suffix preview${{env.DATE_VER}} --output "Release-Preview"
5961 run : |
6062 dotnet nuget push --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_MONTHLY }} Release-Preview/*.nupkg
6163 dotnet nuget push --skip-duplicate --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_MONTHLY }} Release-Preview/*.snupkg
62-
63- # TODO: Run perf tests
64- # TODO: Run mono tests on Windows?
You can’t perform that action at this time.
0 commit comments