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 ci_tests.yml #210

Merged
merged 2 commits into from
Aug 16, 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
23 changes: 12 additions & 11 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,22 @@ jobs:
matrix:
include:
- os: ubuntu-latest
python: '3.10'
tox_env: 'py310-test-alldeps'
prefix: 'py310-test-alldeps'
python: '3.12'
tox_env: 'py312-test-alldeps'
prefix: 'py312-test-alldeps'

- os: ubuntu-latest
python: '3.10'
tox_env: 'py310-test-astropy53'
prefix: 'py310-test-astropy53'
python: '3.12'
tox_env: 'py312-test-astropy61'
prefix: 'py312-test-astropy61'

- os: ubuntu-latest
python: '3.10'
tox_env: 'py310-test-numpy122'
prefix: 'py310-test-numpy122'
python: '3.12'
tox_env: 'py312-test-numpy2'
prefix: 'py312-test-numpy2'

- os: ubuntu-latest
python: '3.10'
python: '3.12'
tox_env: 'build_docs'
prefix: 'build_docs'

Expand All @@ -51,7 +51,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox
python -m pip install tox setuptools
python -m pip install --upgrade setuptools
- name: Test with Tox
run: |
export PY_COLORS=1
Expand Down
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

- Update rtd to use `ubuntu-22.04`. #200
- `update_default_config` removed since `astropy` no longer needs it. #205
- Update rtd to Use Python 3.11.8. #206
- Update rtd to Use `Python 3.11.8`. #206
- Update installation requiements for use with `python 3.12`. #209
- Remove `astropy_helpers` from requirements. #209

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]

requires = ["setuptools",
requires = ["setuptools>=72",
"setuptools_scm",
"wheel"]

Expand Down
6 changes: 2 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[tox]
envlist =
py{312}-test{-alldeps}
py{312}-test-numpy{122}
py{312}-test-numpy{2}
py{312}-test-astropy{61}
build_docs
linkcheck

requires =
setuptools >= 72.2.0
setuptools >= 72
pip >= 24.0.0

isolated_build = true
Expand Down Expand Up @@ -38,7 +38,6 @@ changedir = .tmp/{envname}
description =
run tests
alldeps: with all optional dependencies
numpy122: with numpy 1.22.*
numpy2: with numpy 2.0.*
astropy61: with astropy 6.1.*
astropylts: with the latest astropy LTS
Expand All @@ -47,7 +46,6 @@ description =
deps =
-r{toxinidir}/requirements.txt
numpy2: numpy==2.0.*
numpy122: numpy==1.22.*
astropy61: astropy==6.1.*

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