-
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathtox.ini
More file actions
40 lines (37 loc) · 1.09 KB
/
tox.ini
File metadata and controls
40 lines (37 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[tox]
envlist =
py{39,310,311,312,313,314}-test{,-devdeps}
codestyle
isolated_build = true
[testenv]
changedir = .tmp/{envname}
description = run tests
deps =
pytestoldest: pytest==5.0.0
pytest51: pytest==5.1.*
pytest52: pytest==5.2.*
pytest53: pytest==5.3.*
pytest60: pytest==6.0.*
pytest61: pytest==6.1.*
pytest71: pytest==7.1.*
pytest72: pytest==7.2.*
pytest73: pytest==7.3.*
pytest74: pytest==7.4.*
pytest81: pytest==8.1.*
pytest82: pytest==8.2.*
pytest83: pytest==8.3.*
pytestdev: git+https://github.com/pytest-dev/pytest#egg=pytest
commands =
pip freeze
pytest {toxinidir}/tests {posargs}
pytest {toxinidir}/tests --remote-data {posargs}
pytest {toxinidir}/tests --remote-data=none {posargs}
pytest {toxinidir}/tests --remote-data=github {posargs}
pytest {toxinidir}/tests --remote-data=astropy {posargs}
pytest {toxinidir}/tests --remote-data=any {posargs}
[testenv:codestyle]
changedir =
skip_install = true
description = check code style, e.g. with flake8
deps = flake8
commands = flake8 pytest_remotedata --count