Skip to content

Commit

Permalink
CI: added numpy 1.* to the matrix. Only test with latest stable suppo…
Browse files Browse the repository at this point in the history
…rted versions
  • Loading branch information
juliotux committed Sep 21, 2024
1 parent d6ee7eb commit b375521
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
cache-path: ~/.astropy
envs: |
- linux: py38-test-olddeps-online
- linux: py38-test-online
cache-key: ${{ github.ref }}-py38lin-astropycache
- linux: py39-test-online
cache-key: ${{ github.ref }}-py39lin-astropycache
Expand All @@ -30,6 +30,8 @@ jobs:
cache-key: ${{ github.ref }}-py311lin-astropycache
- linux: py312-test-online
cache-key: ${{ github.ref }}-py312lin-astropycache
- linux: py311-test-np1
cache-key: ${{ github.ref }}-py311np1-astropycache
build_docs:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
Expand Down
11 changes: 3 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py{38,39,310,311,312,313}-test{,-alldeps,-devdeps,-olddeps}{,-cov}{,-online}
py{38,39,310,311,312,313}-test{,-devdeps,-cov,-online,-np1}
build_docs
requires =
setuptools >= 68.0.0
Expand All @@ -20,22 +20,17 @@ changedir = .tmp/{envname}
description =
run tests
devdeps: with the latest developer version of key dependencies
olddeps: with the oldest supported version of key dependencies
cov: and test coverage
np1: latest numpy 1.*

deps =
olddeps: astropy==5.0.*
olddeps: numpy==1.18.*
olddeps: scipy==1.6.*
olddeps: photutils==1.4.*

np1: numpy==1.*
build_docs: matplotlib

devdeps: git+https://github.com/astropy/astroscrappy.git#egg=astroscrappy
devdeps: git+https://github.com/astropy/astroquery.git#egg=astroquery
devdeps: git+https://github.com/astropy/photutils.git#egg=photutils


extras =
test

Expand Down

0 comments on commit b375521

Please sign in to comment.