File tree Expand file tree Collapse file tree 2 files changed +12
-14
lines changed
Expand file tree Collapse file tree 2 files changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -46,10 +46,11 @@ jobs:
4646 name : checkout
4747 path : .
4848 -
49- name : Build wheel
49+ name : Build sdist and wheel
5050 run : |
5151 cd ${{ env.PKGDIR }}
52- python setup.py sdist bdist_wheel
52+ python setup.py sdist
53+ pip wheel -w dist --no-deps dist/*.zip
5354 -
5455 name : Upload build artifacts
5556 uses : actions/upload-artifact@v1
@@ -82,14 +83,12 @@ jobs:
8283 name : artifacts-build
8384 path : ${{ env.PKGDIR }}/dist
8485 -
85- name : Install and test wheel package
86+ name : Install package
8687 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
8989 -
90- name : Install and test sdist package
90+ name : Test package
9191 run : |
92- pip install --ignore-installed ${{ env.PKGDIR }}/dist/*.zip
9392 python -c "from mpl_toolkits import basemap_data; print(basemap_data)"
9493
9594 upload :
Original file line number Diff line number Diff line change @@ -46,10 +46,11 @@ jobs:
4646 name : checkout
4747 path : .
4848 -
49- name : Build wheel
49+ name : Build sdist and wheel
5050 run : |
5151 cd ${{ env.PKGDIR }}
52- python setup.py sdist bdist_wheel
52+ python setup.py sdist
53+ pip wheel -w dist --no-deps dist/*.zip
5354 -
5455 name : Upload build artifacts
5556 uses : actions/upload-artifact@v1
@@ -82,14 +83,12 @@ jobs:
8283 name : artifacts-build
8384 path : ${{ env.PKGDIR }}/dist
8485 -
85- name : Install and test wheel package
86+ name : Install package
8687 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
8989 -
90- name : Install and test sdist package
90+ name : Test package
9191 run : |
92- pip install --ignore-installed ${{ env.PKGDIR }}/dist/*.zip
9392 python -c "from mpl_toolkits import basemap_data; print(basemap_data)"
9493
9594 upload :
You can’t perform that action at this time.
0 commit comments