Skip to content

Add CI for Python 3.13 and update dev envs #780

Add CI for Python 3.13 and update dev envs

Add CI for Python 3.13 and update dev envs #780

Workflow file for this run

name: CI Tests
on:
push:
branches:
- main
tags:
- '*'
pull_request:
jobs:
initial_checks:
# Mandatory checks before CI tests
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
coverage: false
envs: |
# Code style
- linux: codestyle
tests:
needs: initial_checks
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
coverage: codecov
envs: |
# Linux build
- linux: py313-test
libraries: 'libhdf5-dev'
# Test against latest developer versions of some packages
- linux: py311-test-dev
- linux: py312-test-dev-all
- linux: py313-test-dev-all
- macos: py311-test-dev
- macos: py312-test-dev-all
- macos: py313-test-dev
libraries: 'hdf5'
- windows: py312-test-dev
publish:
needs: tests
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1
with:
test_extras: 'test'
test_command: pytest --pyargs glue
secrets:
pypi_token: ${{ secrets.pypi_token }}