File tree 2 files changed +12
-10
lines changed
2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 49
49
name : Build wheel
50
50
run : |
51
51
cd ${{ env.PKGDIR }}
52
- python setup.py sdist
53
- pip wheel -w dist --no-deps dist/*.zip
52
+ python setup.py sdist bdist_wheel
54
53
-
55
54
name : Upload build artifacts
56
55
uses : actions/upload-artifact@v1
@@ -83,12 +82,14 @@ jobs:
83
82
name : artifacts-build
84
83
path : ${{ env.PKGDIR }}/dist
85
84
-
86
- name : Install package
85
+ name : Install and test wheel package
87
86
run : |
88
- pip install ${{ env.PKGDIR }}/dist/*.whl
87
+ pip install --ignore-installed ${{ env.PKGDIR }}/dist/*.whl
88
+ python -c "from mpl_toolkits import basemap_data; print(basemap_data)"
89
89
-
90
- name : Test package
90
+ name : Install and test sdist package
91
91
run : |
92
+ pip install --ignore-installed ${{ env.PKGDIR }}/dist/*.zip
92
93
python -c "from mpl_toolkits import basemap_data; print(basemap_data)"
93
94
94
95
upload :
Original file line number Diff line number Diff line change 49
49
name : Build wheel
50
50
run : |
51
51
cd ${{ env.PKGDIR }}
52
- python setup.py sdist
53
- pip wheel -w dist --no-deps dist/*.zip
52
+ python setup.py sdist bdist_wheel
54
53
-
55
54
name : Upload build artifacts
56
55
uses : actions/upload-artifact@v1
@@ -83,12 +82,14 @@ jobs:
83
82
name : artifacts-build
84
83
path : ${{ env.PKGDIR }}/dist
85
84
-
86
- name : Install package
85
+ name : Install and test wheel package
87
86
run : |
88
- pip install ${{ env.PKGDIR }}/dist/*.whl
87
+ pip install --ignore-installed ${{ env.PKGDIR }}/dist/*.whl
88
+ python -c "from mpl_toolkits import basemap_data; print(basemap_data)"
89
89
-
90
- name : Test package
90
+ name : Install and test sdist package
91
91
run : |
92
+ pip install --ignore-installed ${{ env.PKGDIR }}/dist/*.zip
92
93
python -c "from mpl_toolkits import basemap_data; print(basemap_data)"
93
94
94
95
upload :
You can’t perform that action at this time.
0 commit comments