Skip to content

Commit

Permalink
Merge pull request #70 from saimn/actions
Browse files Browse the repository at this point in the history
Update CI jobs, drop Python 3.6
  • Loading branch information
saimn committed Nov 23, 2021
2 parents 9538274 + 737d10e commit 2dfdc15
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 24 deletions.
28 changes: 9 additions & 19 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,30 +27,20 @@ jobs:
toxenv: py38-test
coverage: true

- name: Documentation build
os: ubuntu-latest
python-version: 3.8
toxenv: build_docs
- name: Python 3.9 with required dependencies
os: windows-latest
python-version: 3.9
toxenv: py39-test

- name: Python 3.8 with developer version of astropy and numpy
- name: Python 3.10 with required dependencies
os: ubuntu-latest
python-version: 3.8
toxenv: py38-test-devdeps
python-version: "3.10"
toxenv: py310-test

- name: Python 3.6 astropy LTS and Numpy 1.16
- name: Documentation build
os: ubuntu-latest
python-version: 3.6
toxenv: py36-test-astropylts-numpy116

- name: Python 3.8 with required dependencies
os: windows-latest
python-version: 3.8
toxenv: py38-test

- name: Python 3.7 with older dependencies, astropy 3.0 and Numpy 1.17
os: ubuntu-latest
python-version: 3.7
toxenv: py37-test-astropy30-numpy117
toxenv: build_docs

- name: Code style checks
os: ubuntu-latest
Expand Down
9 changes: 8 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
1.1.0 (2020-11-01)
1.2.0.dev (unreleased)
----------------------

- Drop support for Python 3.6.

1.1.0 (2021-11-19)
------------------

- Added the option to add a variance array
- Added the ability to subtract a background array rather than a single value.

1.0.5 (2016-08-16)
------------------

- Updated to newest version of astropy package template.

- Fixed median cleaning. There was a subtle bug that the crmask was defined as a unit8
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ github_project = astropy/astroscrappy
[options]
zip_safe = False
packages = find:
python_requires = >=3.6
python_requires = >=3.7
setup_requires = setuptools_scm
install_requires =
astropy
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[tox]
envlist =
py{36,37,38,39}-test{,-alldeps,-devdeps}{,-cov}
py{36,37,38,39}-test-numpy{116,117,118,119}
py{36,37,38,39}-test-astropy{30,40,41,lts}
py{37,38,39,310}-test{,-alldeps,-devdeps}{,-cov}
py{37,38,39,310}-test-numpy{117,118,119,120}
py{37,38,39,310}-test-astropy{30,40,41,lts}
build_docs
linkcheck
codestyle
Expand Down Expand Up @@ -51,6 +51,7 @@ deps =
numpy117: numpy==1.17.*
numpy118: numpy==1.18.*
numpy119: numpy==1.19.*
numpy120: numpy==1.20.*

astropy30: astropy==3.0.*
astropy40: astropy==4.0.*
Expand Down

0 comments on commit 2dfdc15

Please sign in to comment.