Skip to content

Commit 4396836

Browse files
committed
Update tox, test py310
1 parent 5acb76c commit 4396836

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.github/workflows/python-tests.yml

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
- os: ubuntu-latest
2727
python-version: '3.9'
2828
tox_env: 'py39'
29+
- os: ubuntu-latest
30+
python-version: '3.10'
31+
tox_env: 'py310'
2932

3033
steps:
3134
- uses: actions/checkout@v2

setup.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ install_requires =
3636
[options.extras_require]
3737
all = matplotlib; colorama
3838
docs = sphinx_rtd_theme; sphinx-automodapi; sphinxcontrib-programoutput; matplotlib
39+
tests = colorama; pytest; pytest-cov
3940

4041
[options.package_data]
4142
muse_psfr = coeffL0.fits

tox.ini

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
[tox]
2-
envlist = py37,py38,py39
2+
envlist = py37,py38,py39,py310
33
requires =
44
virtualenv >= 20
55

66
[testenv]
7-
whitelist_externals = which
8-
deps =
9-
colorama
10-
pytest
11-
pytest-cov
7+
extra = tests
128
commands=
139
python --version
1410
pip --version
15-
which python
1611
pip freeze -l
1712
pytest {posargs} --cov muse_psfr --cov-report term
1813

0 commit comments

Comments
 (0)