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:
37
37
- name : Install dependencies
38
38
run : |
39
39
pip install --upgrade -r requirements.txt
40
+ pip install numpy # for tests
40
41
41
42
- name : Build and Install
42
43
run : |
43
44
pip install -v .
44
45
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
+
45
51
- name : Python Tests
46
52
run : pytest
47
- env :
48
- PYTHONNET_PYDLL : libpython3.8.so
49
53
50
54
- name : Embedding tests
51
55
run : dotnet test --runtime any-ubuntu src/embed_tests/
52
- env :
53
- PYTHONNET_PYDLL : libpython3.8.so
54
56
55
57
- name : Pack
56
58
run : dotnet pack --configuration Release --version-suffix preview${{env.DATE_VER}} --output "Release-Preview"
59
61
run : |
60
62
dotnet nuget push --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_MONTHLY }} Release-Preview/*.nupkg
61
63
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