1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
name: test
on:
push:
branches:
- '*'
tags:
- '*'
pull_request:
workflow_dispatch:
schedule:
# Weekly Monday 9AM build
# * is a special character in YAML so you have to quote this string
- cron: '0 9 * * 1'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@d9b81a07e789d1b1921ab5fe33de2ddcbbd02c3f # v2.3.0
with:
envs: |
- linux: check-style
test:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@d9b81a07e789d1b1921ab5fe33de2ddcbbd02c3f # v2.3.0
with:
envs: |
- linux: py311-oldestdeps
- linux: py311
- linux: py312
- linux: py314
# `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: py313-cov
coverage: codecov
pytest-results-summary: true
- macos: py313
pytest-results-summary: true
- linux: py314-dev
|