Skip to content

Commit 30e1243

Browse files
committed
Merge remote-tracking branch 'origin/build-from-sdist' into build-from-sdist
2 parents 863787e + 1a18b28 commit 30e1243

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

.github/workflows/basemap-data-hires.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ jobs:
4949
name: Build wheel
5050
run: |
5151
cd ${{ env.PKGDIR }}
52-
python setup.py sdist
53-
pip wheel -w dist --no-deps dist/*.zip
52+
python setup.py sdist bdist_wheel
5453
-
5554
name: Upload build artifacts
5655
uses: actions/upload-artifact@v1
@@ -83,12 +82,14 @@ jobs:
8382
name: artifacts-build
8483
path: ${{ env.PKGDIR }}/dist
8584
-
86-
name: Install package
85+
name: Install and test wheel package
8786
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)"
8989
-
90-
name: Test package
90+
name: Install and test sdist package
9191
run: |
92+
pip install --ignore-installed ${{ env.PKGDIR }}/dist/*.zip
9293
python -c "from mpl_toolkits import basemap_data; print(basemap_data)"
9394
9495
upload:

.github/workflows/basemap-data.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ jobs:
4949
name: Build wheel
5050
run: |
5151
cd ${{ env.PKGDIR }}
52-
python setup.py sdist
53-
pip wheel -w dist --no-deps dist/*.zip
52+
python setup.py sdist bdist_wheel
5453
-
5554
name: Upload build artifacts
5655
uses: actions/upload-artifact@v1
@@ -83,12 +82,14 @@ jobs:
8382
name: artifacts-build
8483
path: ${{ env.PKGDIR }}/dist
8584
-
86-
name: Install package
85+
name: Install and test wheel package
8786
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)"
8989
-
90-
name: Test package
90+
name: Install and test sdist package
9191
run: |
92+
pip install --ignore-installed ${{ env.PKGDIR }}/dist/*.zip
9293
python -c "from mpl_toolkits import basemap_data; print(basemap_data)"
9394
9495
upload:

0 commit comments

Comments
 (0)