mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Add coverage to unit tests
This commit is contained in:
parent
ef7261cd71
commit
3d32f57c6f
2 changed files with 2 additions and 2 deletions
|
|
@ -62,6 +62,6 @@ script:
|
|||
./check_source.py;
|
||||
else
|
||||
./run_tests.py -C $OPENMC_CONFIG -j 2;
|
||||
pytest unit_tests/;
|
||||
pytest --cov=../openmc unit_tests/;
|
||||
fi
|
||||
- cd ..
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -66,7 +66,7 @@ kwargs = {
|
|||
|
||||
# Optional dependencies
|
||||
'extras_require': {
|
||||
'test': ['pytest'],
|
||||
'test': ['pytest', 'pytest-cov'],
|
||||
'vtk': ['vtk', 'silomesh'],
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue