Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Python 3.11 and 3.12 CI envs #91

Merged
merged 5 commits into from
Feb 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 20 additions & 6 deletions .github/workflows/ci_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,17 @@ on:
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:
display: true
Expand All @@ -14,28 +24,32 @@ jobs:
apt:
- '^libxcb.*-dev'
- libxkbcommon-x11-dev
- libhdf5-dev
brew:
- hdf5

envs: |
# Code style
- linux: codestyle

# Standard tests
- linux: py38-test
- linux: py39-test
- linux: py310-test
- linux: py310-test-devdeps
- linux: py311-test
- linux: py312-test-devdeps

- macos: py38-test
- macos: py39-test
- macos: py310-test
- macos: py311-test
- macos: py311-test-devdeps
- macos: py312-test

- windows: py38-test
- windows: py39-test
- windows: py310-test
- windows: py311-test
- windows: py311-test-devdeps
- windows: py312-test

publish:
needs: tests
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1
with:
# setup headless X server as per pyvista/setup-headless-display-action@v1
Expand Down
6 changes: 5 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{36,37,38,39,py310}-test
envlist = py{37,38,39,310,311,312}-{test,devdeps}
requires = pip >= 18.0
setuptools >= 30.3.0

Expand All @@ -11,6 +11,10 @@ changedir =
test: .tmp/{envname}
extras =
test: test,qt
deps =
devdeps: git+https://github.com/astropy/astropy
devdeps: git+https://github.com/astropy/reproject
devdeps: git+https://github.com/glue-viz/glue
commands =
test: pip freeze
test: pytest --pyargs glue_wwt --cov glue_wwt {posargs}
Expand Down