Skip to content

Commit

Permalink
Ignore file mismatch check
Browse files Browse the repository at this point in the history
when testing wheel building in PR
  • Loading branch information
pllim committed Dec 10, 2024
1 parent cbf4b49 commit 92a1f72
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@ jobs:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@d68193b68216da64eafaa618f53c59f5d271c56e # v1.14.0
if: github.repository == 'astropy/astroplan'
with:
submodules: false
# We upload to PyPI for all tags starting with v but not ones ending in .dev
upload_to_pypi: ${{ startsWith(github.ref, 'refs/tags/v') && !endsWith(github.ref, '.dev') && (github.event_name == 'push') }}
test_extras: test
test_command: pytest -p no:warnings --astropy-header --pyargs astroplan
env: |
PY_IGNORE_IMPORTMISMATCH: 1
secrets:
pypi_token: ${{ secrets.PYPI_TOKEN }}

0 comments on commit 92a1f72

Please sign in to comment.