diff --git a/contrib/git.nwchem/github_actions_selfhosted.txt b/contrib/git.nwchem/github_actions_selfhosted.txt index 14fb72e5e9..525565eb61 100644 --- a/contrib/git.nwchem/github_actions_selfhosted.txt +++ b/contrib/git.nwchem/github_actions_selfhosted.txt @@ -164,10 +164,10 @@ jobs: export TRAVIS_BUILD_DIR=`pwd` unset USE_SIMINT mytee=tee - dist=$(grep ID= /etc/os-release |grep -v VERSION|head -1 |cut -c4-| sed 's/\"//g') - nprocs=3 - if [[ $dist == "fedora" ]]; then nprocs=2; fi - if [[ `uname -s` == "Darwin" ]]; then mytee=gtee; fi + if [[ `uname -s` == "Darwin" ]]; then mytee=gtee; dist=Darwin; fi + if test -f "/usr/lib/os-release"; then dist=$(grep ID= /etc/os-release |grep -v VERSION|head -1 |cut -c4-| sed 's/\"//g') ; fi + if [[ $dist == "fedora" ]]; then nprocs=2; else nprocs=3 ;fi + echo nprocs is $nprocs source travis/nwchem.bashrc; cd QA && ./doqmtests.mpi $nprocs | $mytee >(ts "%d%b%Y %H:%M:%S" > ../../../../doqmtests.mpi.log.` date +%b%d%Y_%H:%M`) shell: bash - name: Check if QA testing has failed