Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

Merge pull request #622 from cgobat/main #1

Merge pull request #622 from cgobat/main

Merge pull request #622 from cgobat/main #1

Workflow file for this run

name: Wheel building
on:
push:
branches:
- main
tags:
- '*'
pull_request:
branches: # only build on PRs against 'main' if you need to further limit when CI is run.
- main
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build_and_publish:
permissions:
contents: none
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@28e947497bed4d6ec3fa1d66d198e95a1d17bc63 # v2.2.1
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 }}