Skip to content

Commit

Permalink
fixes long description issue, adds twine check calls to publish workf…
Browse files Browse the repository at this point in the history
…lows
  • Loading branch information
AndrewAnnex committed Nov 14, 2021
1 parent 3f3c85d commit 9f8b626
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/publish-to-test-and-live-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
- name: Upload coverage report to codecov
run: |
codecov
- name: Check dists
run: |
twine check dist/*
- uses: actions/upload-artifact@v2
with:
path: dist/*.tar.gz
Expand Down Expand Up @@ -84,6 +87,9 @@ jobs:
timeout-minutes: 120
run: |
python -m cibuildwheel --output-dir wheelhouse
- name: Check dists
run: |
twine check wheelhouse/*
- name: Upload wheels for SpiceyPy 🌶️ 🥧
uses: actions/upload-artifact@v2
with:
Expand All @@ -107,6 +113,9 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install twine
- name: Check dists
run: |
twine check dist/*
- name: Publish distribution 📦 to Test PyPI
env:
TWINE_USERNAME: __token__
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = spiceypy
version = attr: spiceypy.__version__
description = A Python Wrapper for the NAIF CSPICE Toolkit
long_description = file: README.rst, CHANGELOG.md, LICENSE
long_description = file: README.rst
author = Andrew Annex
author_email = ama6fy@virginia.edu
maintainer = Andrew Annex
Expand Down

0 comments on commit 9f8b626

Please sign in to comment.