name: CI on: push: branches: - main - '*.x' tags: - "*" pull_request: schedule: - cron: '0 6 * * 1' concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: test: uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v2 with: envs: | - linux: check-style - linux: check-security - linux: py310-xdist - linux: py311-xdist - linux: py312-xdist - linux: py313-xdist # `tox` does not currently respect `requires-python` versions when creating testing environments; # if this breaks, add an upper pin to `requires-python` and revert this py3 to the latest working version - linux: py3-cov-xdist coverage: codecov - macos: py3-xdist python-version: '>=3.13.5 <3.14' - windows: py3-xdist # exclude Python 1.13.4, see https://github.com/python/cpython/issues/135151 python-version: '>=3.13.5 <3.14' - linux: py3-devdeps-xdist toxdeps: tox-uv secrets: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}