From 92a1f726890a77667bbb14483b90a7cd1602d933 Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Mon, 9 Dec 2024 21:09:24 -0500 Subject: [PATCH] Ignore file mismatch check when testing wheel building in PR --- .github/workflows/publish.yml | 3 +++ 1 file changed, 3 insertions(+) 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 }}