Skip to content

CI

CI #195

Workflow file for this run

name: CI
on:
pull_request:
push:
schedule:
# Run every Sunday at 06:53 UTC
- cron: 53 6 * * 0
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
envs: |
- linux: codestyle
- linux: py37-test-pytestoldest
- macos: py37-test-pytest50
- windows: py38-test-pytest52
- linux: py38-test-pytest53
- macos: py39-test-pytest60
- windows: py39-test-pytest61
- linux: py310-test-pytest62
- macos: py310-test-pytest70
- windows: py310-test-pytest71
- linux: py311-test-pytest72
- macos: py311-test-pytest73
- windows: py312-test-pytest74
- linux: py312-test-devdeps
publish:
needs: tests
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1
with:
test_extras: test
test_command: pytest $GITHUB_WORKSPACE/tests; pytest --arraydiff $GITHUB_WORKSPACE/tests
secrets:
pypi_token: ${{ secrets.pypi_password }}