Skip to content

CI

CI #442

Workflow file for this run

name: CI
on:
workflow_dispatch:
schedule:
# Run every Monday at 6am UTC
- cron: "0 6 * * 1"
push:
branches:
- main
- "*.x"
tags:
- "*"
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
core:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
submodules: false
# Any env name which does not start with `pyXY` will use this Python version.
envs: |
- linux: py39-cov
- linux: py310-cov
- linux: py311-cov
- linux: py312-cov
coverage: codecov
test:
needs: [core]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
submodules: false
# Any env name which does not start with `pyXY` will use this Python version.
envs: |
- macos: py311
- windows: py311
dev:
needs: [core]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
submodules: false
# Any env name which does not start with `pyXY` will use this Python version.
default_python: "3.9"
envs: |
- linux: py39-devdeps
- linux: py310-devdeps
- linux: py311-devdeps
- linux: py312-devdeps
oldest:
needs: [core]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
submodules: false
# Any env name which does not start with `pyXY` will use this Python version.
default_python: "3.9"
envs: |
- linux: py39-minimum_dependencies
- linux: py310-minimum_dependencies
- linux: py311-minimum_dependencies
- linux: py312-minimum_dependencies
package:
needs: [core]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1
with:
upload_to_pypi: false
upload_to_anaconda: false
test_extras: test
test_command: pytest --pyargs minimum_dependencies