forked from pymgrit/pymgrit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
28 lines (26 loc) · 1.02 KB
/
tox.ini
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
# tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py3
[testenv]
deps =
pytest
coverage
whitelist_externals =
mpiexec
commands =
python setup.py test
{toxinidir}/tests/mpi/mpi_testsets.sh procs_without_points
{toxinidir}/tests/mpi/mpi_testsets.sh varying_coarsening
{toxinidir}/tests/mpi/test_examples.sh brusselator
{toxinidir}/tests/mpi/test_examples.sh convergence_criterion
{toxinidir}/tests/mpi/test_examples.sh dahlquist
{toxinidir}/tests/mpi/test_examples.sh heat_1d
{toxinidir}/tests/mpi/test_examples.sh multilevel_structure
{toxinidir}/tests/mpi/test_examples.sh parameters
{toxinidir}/tests/mpi/test_examples.sh spatial_coarsening
{toxinidir}/tests/mpi/test_examples.sh time_integrators
coverage run -m pytest
coverage xml -o {toxinidir}/tests/coverage.xml