Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions .github/workflows/openfoam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: openfoam

on:
push:
branches: [ of2312+ ]
branches: [ "of2312*" ]
pull_request:
branches: [ of2312+ ]
branches: [ "of2312*" ]

jobs:
build-and-test:
Expand All @@ -23,13 +23,16 @@ jobs:
with:
openfoam-version: ${{ matrix.openfoam-version }}

- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11

- name: Install dependencies
uses: gerlero/apt-install@v1
with:
packages: >-
libomp-16-dev
python3
python3-dev
libglu1
build-essential
libopenmpi-dev
openmpi-bin
Expand All @@ -38,10 +41,12 @@ jobs:
run: |
export WM_NCOMPPROCS=2
./Allwmake
./get-gmsh.sh

- name: test
run: |
python -m pip install --upgrade pip
echo $FOAM_USER_APPBIN
./get-gmsh.sh
pip install oftest scipy casefoam
ls
py.test --writeNSteps=1 run/
Expand Down
Loading