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

Update test envs now that python 3.12 is released #1089

Closed
wants to merge 7 commits into from
Closed
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
21 changes: 13 additions & 8 deletions .github/workflows/ci_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,26 @@ jobs:
python: 3.x
toxenv: codestyle

- name: Python 3.11 with astropy data and coverage
- name: Python 3.12 with astropy data and coverage
os: ubuntu-latest
python: '3.11'
toxenv: py311-test-cov
python: '3.12'
toxenv: py312-test-cov
toxargs: -v
toxposargs: --remote-data=astropy

- name: Python 3.11 (Windows)
- name: Python 3.12 (Windows)
os: windows-latest
python: 3.11
toxenv: py311-test
python: '3.12'
toxenv: py312-test

- name: Python 3.11 (MacOS X)
- name: Python 3.12 (MacOS X)
os: macos-latest
python: 3.11
python: '3.12'
toxenv: py312-test

- name: Python 3.11
os: ubuntu-laters
python: '3.11'
toxenv: py311-test

- name: Python 3.10
Expand Down
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ isolated_build = true
setenv =
MPLBACKEND=agg
devdeps: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/astropy/simple https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
py312: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/astropy/simple

# Pass through the following environment variables which may be needed for the CI
passenv = HOME,WINDIR,LC_ALL,LC_CTYPE,CC,CI
Expand Down Expand Up @@ -61,6 +62,9 @@ deps =
devdeps: git+https://github.com/astropy/asdf-astropy.git
devdeps: git+https://github.com/spacetelescope/stdatamodels.git

# Currently need dev astropy with python 3.12
py312: astropy>=0.0.dev0

# The following indicates which extras_require from setup.cfg will be installed
extras =
test
Expand Down
Loading