OpenMC/tools/ci/travis-script.sh
2019-10-28 11:55:45 -05:00

9 lines
160 B
Bash
Executable file

#!/bin/bash
set -ex
# Run regression and unit tests
if [[ $MPI == 'y' ]]; then
pytest --cov=openmc -v --mpi tests
else
pytest --cov=openmc -v tests
fi