Skip to content

CI

CI #404

name: CI
on:
push:
branches:
- master
tags:
- "*"
pull_request:
schedule:
# Run every Monday at 6am UTC
- cron: '0 6 * * 1'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
tests:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
submodules: false
coverage: ''
envs: |
# Make sure that packaging will work
- name: pep517 build
linux: twine
- name: Security audit
linux: bandit
- name: PEP 8
linux: codestyle
- name: Python 3.11 (OSX)
macos: py311-test
posargs: -v
- name: Python 3.12 (Windows)
windows: py312-test
posargs: -v
- name: Python 3.13 with coverage
linux: py313-test-cov
posargs: -v
coverage: codecov
- name: Python 3.13 with numpy 1.x
linux: py313-test-cov-numpy1x
posargs: -v
coverage: codecov
- name: Python 3.13 with dev version of dependencies
linux: py313-test-devdeps
posargs: -v