N_MPI=`nproc`
export OMPI_MCA_rmaps_base_oversubscribe=1

for py in `py3versions -s`; do
  # single process
  $py -m pytest --junitxml=test-output test/

  # MPI test
  mpirun -n ${N_MPI} $py -m pytest --junitxml=test-output test/
done
