Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions .github/workflows/update-solver-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Update Solver API
on:
schedule:
- cron: '0 6 * * *'
workflow_dispatch:

jobs:
update-dep:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -36,6 +38,8 @@ jobs:

- name: Run API codegen
run: make api-codegen
env:
PYFLUENT_LAUNCH_CONTAINER: 1

- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,14 @@ unittest:

api-codegen:
@echo "Running API codegen"
@python -m venv env
@source env/bin/activate
@pip install -r requirements_codegen.txt
@python codegen/pyprotogen.py
@python codegen/tuigen.py
@python codegen/settingsgen.py
@python codegen/datamodelgen.py
@deactivate

build-doc:
@sudo rm -rf /home/ansys/.local/share/ansys_fluent_core/examples/*
Expand Down