diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c4d4df57..2dd0c877 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 }}