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