Skip to content

Inherited from plotter instead of wrapping it #308

Inherited from plotter instead of wrapping it

Inherited from plotter instead of wrapping it #308

Workflow file for this run

name: CI
on:
push:
branches:
- "main"
- "*.*"
- "!*backport*"
tags:
- "v*"
- "!*dev*"
- "!*pre*"
- "!*post*"
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
core:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main
with:
display: true
submodules: false
coverage: codecov
envs: |
- linux: py312
test:
needs: [core]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main
with:
display: true
submodules: false
coverage: codecov
envs: |
- macos: py311
- windows: py310
- linux: py312-devdeps
docs:
needs: [core]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main
with:
display: true
default_python: "3.12"
pytest: false
libraries: |
apt:
- graphviz
envs: |
- linux: build_docs
publish:
# Build wheels when pushing to any branch except main
# publish.yml will only publish if tagged ^v.*
if: |
(
github.event_name != 'pull_request' && (
github.ref_name != 'main' ||
github.event_name == 'workflow_dispatch'
)
) || (
github.event_name == 'pull_request' &&
contains(github.event.pull_request.labels.*.name, 'Run publish')
)
needs: [core]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1
with:
python-version: "3.12"
secrets:
pypi_token: ${{ secrets.pypi_token }}