OpenMC/tools/ci/gha-script.sh
Thomas Kittelmann ced8929128
NCrystal becomes runtime rather than buildtime dependency (#3328)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-03-05 15:45:27 -06:00

18 lines
268 B
Bash
Executable file

#!/bin/bash
set -ex
# Argument List
args=" "
# Check for MPI
if [[ $MPI == 'y' ]]; then
args="${args} --mpi "
fi
# Check for event-based
if [[ $EVENT == 'y' ]]; then
args="${args} --event "
fi
# Run regression and unit tests
pytest --cov=openmc -v $args tests