forked from fusion-energy/paramak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_tests.sh
17 lines (15 loc) · 1.27 KB
/
run_tests.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
pytest tests/test_utils.py -v --cov=paramak --cov-append --cov-report term --cov-report xml
pytest tests/test_Shape.py -v --cov=paramak --cov-append --cov-report term --cov-report xml
pytest tests/test_Reactor.py -v --cov=paramak --cov-append --cov-report term --cov-report xml
pytest tests/test_parametric_shapes/ -v --cov=paramak --cov-append --cov-report term --cov-report xml
pytest tests/test_parametric_components/ -v --cov=paramak --cov-append --cov-report term --cov-report xml
pytest tests/test_parametric_reactors/ -v --cov=paramak --cov-append --cov-report term --cov-report xml
pytest tests/test_example_shapes.py -v --cov=paramak --cov-append --cov-report term --cov-report xml
pytest tests/test_example_components.py -v --cov=paramak --cov-append --cov-report term --cov-report xml
pytest tests/test_example_reactors.py -v --cov=paramak --cov-append --cov-report term --cov-report xml
if [[ "$1" = "include-neutronics=true" ]]; then
pytest tests/test_neutronics_utils.py -v --cov=paramak --cov-append --cov-report term --cov-report xml
pytest tests/test_example_neutronics_simulations.py -v --cov=paramak --cov-append --cov-report term --cov-report xml
pytest tests/test_parametric_neutronics/ -v --cov=paramak --cov-append --cov-report term --cov-report xml
fi