File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -38,17 +38,27 @@ jobs:
3838 with :
3939 detached : true
4040
41- - name : Compile and Test
41+ - name : Compile
4242 run : |
4343 source /usr/lib/openfoam/openfoam2506/etc/bashrc
4444 mkdir -p $FOAM_USER_LIBBIN
4545 ./Allwmake
46+
47+ - name : Test in serial
48+ run : |
49+ source /usr/lib/openfoam/openfoam2506/etc/bashrc
4650 git clone https://github.com/FoamScience/foamUT $FOAM_FOAMUT
47- sed -i 's/mpirun/mpirun --oversubscribe/g' $FOAM_FOAMUT/Alltest
51+ sed -i 's/mpirun/mpirun --oversubscribe/g' $FOAM_FOAMUT/foamut
4852 ln -s "$PWD"/tests/adaptiveFvMeshTests "$FOAM_FOAMUT/tests/adaptiveFvMeshTests"
4953 rm -rf "$FOAM_FOAMUT/cases"
5054 cp -r tests/testCases "$FOAM_FOAMUT/cases"
5155 cd $FOAM_FOAMUT || exit 1
5256 rm -rf tests/exampleTests
53- ./Alltest "$@"
57+ ./foamut
5458 if [ -f $FOAM_FOAMUT/tests/adaptiveFvMeshTests/log.wmake ]; then cat $FOAM_FOAMUT/tests/adaptiveFvMeshTests/log.wmake; fi
59+
60+ - name : Test in parallel
61+ run : |
62+ source /usr/lib/openfoam/openfoam2506/etc/bashrc
63+ cd $FOAM_FOAMUT || exit 1
64+ ./foamut --parallel
You can’t perform that action at this time.
0 commit comments