Skip to content

Commit b02440d

Browse files
committed
ci: update to use new foamUT versions
1 parent 720f2be commit b02440d

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/of2506.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)