Skip to content

Commit

Permalink
Revert changes in basemap-data and basemap-data-hires workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
molinav committed Feb 5, 2022
1 parent 30e1243 commit 0f16ca8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/basemap-data-hires.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@ jobs:
name: checkout
path: .
-
name: Build wheel
name: Build sdist and wheel
run: |
cd ${{ env.PKGDIR }}
python setup.py sdist bdist_wheel
python setup.py sdist
pip wheel -w dist --no-deps dist/*.zip
-
name: Upload build artifacts
uses: actions/upload-artifact@v1
Expand Down Expand Up @@ -82,14 +83,12 @@ jobs:
name: artifacts-build
path: ${{ env.PKGDIR }}/dist
-
name: Install and test wheel package
name: Install wheel package
run: |
pip install --ignore-installed ${{ env.PKGDIR }}/dist/*.whl
python -c "from mpl_toolkits import basemap_data; print(basemap_data)"
pip install ${{ env.PKGDIR }}/dist/*.whl
-
name: Install and test sdist package
name: Test wheel package
run: |
pip install --ignore-installed ${{ env.PKGDIR }}/dist/*.zip
python -c "from mpl_toolkits import basemap_data; print(basemap_data)"
upload:
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/basemap-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@ jobs:
name: checkout
path: .
-
name: Build wheel
name: Build sdist and wheel
run: |
cd ${{ env.PKGDIR }}
python setup.py sdist bdist_wheel
python setup.py sdist
pip wheel -w dist --no-deps dist/*.zip
-
name: Upload build artifacts
uses: actions/upload-artifact@v1
Expand Down Expand Up @@ -82,14 +83,12 @@ jobs:
name: artifacts-build
path: ${{ env.PKGDIR }}/dist
-
name: Install and test wheel package
name: Install wheel package
run: |
pip install --ignore-installed ${{ env.PKGDIR }}/dist/*.whl
python -c "from mpl_toolkits import basemap_data; print(basemap_data)"
pip install ${{ env.PKGDIR }}/dist/*.whl
-
name: Install and test sdist package
name: Test wheel package
run: |
pip install --ignore-installed ${{ env.PKGDIR }}/dist/*.zip
python -c "from mpl_toolkits import basemap_data; print(basemap_data)"
upload:
Expand Down

0 comments on commit 0f16ca8

Please sign in to comment.