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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
runs-on: [self-hosted, pyfluent]
strategy:
matrix:
image-tag: [v22.2.0]
image-tag: [v22.2.0, v23.1.0]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:
- name: Install again after codegen
run: |
rm -rf dist
make install
make install > /dev/null

- name: Cache examples
uses: actions/cache@v3
Expand Down Expand Up @@ -235,7 +235,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
image-tag: [v22.2.0]
image-tag: [v22.2.0, v23.1.0]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -308,7 +308,7 @@ jobs:
- name: Install again after codegen
run: |
rm -rf dist
make install
make install > /dev/null

- name: Unit Testing
run: make unittest
Expand Down
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,15 @@ style:
@pre-commit run --all-files --show-diff-on-failure

install:
@pip uninstall ansys-api-fluent -y
@pip install -r requirements/requirements_build.txt
@python -m build
@pip install dist/*.whl
@pip install -q dist/*.whl

version-info:
@bash -c "date -u +'Build date: %B %d, %Y %H:%M UTC ShaID: <id>' | xargs -I date sed -i 's/_VERSION_INFO = .*/_VERSION_INFO = \"date\"/g' src/ansys/fluent/core/__init__.py"
@bash -c "git --no-pager log -n 1 --format='%h' | xargs -I hash sed -i 's/<id>/hash/g' src/ansys/fluent/core/__init__.py"

docker-pull:
@pip install docker
@bash .ci/pull_fluent_image.sh

test-import:
Expand All @@ -28,7 +26,7 @@ api-codegen:
@echo "Running API codegen"
@python -m venv env
@. env/bin/activate
@pip install -e .
@pip install -q -e .
@python codegen/allapigen.py
@rm -rf env

Expand Down