forked from p-ortega/mf6rtm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
41 lines (37 loc) · 847 Bytes
/
tox.ini
File metadata and controls
41 lines (37 loc) · 847 Bytes
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
41
[tox]
minversion = 4.16.0
envlist = py310, py311, py312, py313, flake8, coveralls
isolated_build = true
[gh-actions]
python =
3.10: py310, coveralls, flake8
3.11: py311
3.12: py312
3.13: py313
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
-r{toxinidir}/requirements_dev.txt
commands =
pytest --basetemp={envtmpdir} {posargs}
[testenv:coveralls]
passenv = GITHUB_*
COVERALLS_*
CI
description = Run tests and upload coverage to Coveralls
basepython = python3.10
setenv =
PYTHONPATH = {toxinidir}
deps =
coveralls
-r{toxinidir}/requirements_dev.txt
commands =
coverage erase
coverage run --source=mf6rtm -m pytest --basetemp={envtmpdir}
coverage report
coveralls --service=github
[testenv:flake8]
basepython = python3.10
deps = flake8
commands = flake8 mf6rtm autotests