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
3 changes: 3 additions & 0 deletions .github/workflows/nightly-test-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,19 +114,22 @@ jobs:

- name: 23.1 Unit Testing
run: make unittest-all-231
continue-on-error: true
env:
ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}
PYFLUENT_START_INSTANCE: 0
FLUENT_IMAGE_TAG: v23.1.0

- name: Upload 23.1 Coverage Artifacts
uses: actions/upload-artifact@v3
continue-on-error: true
with:
name: coverage_report
path: ./htmlcov

- name: 23.2 Unit Testing
run: make unittest-all-232
continue-on-error: true
env:
ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}
PYFLUENT_START_INSTANCE: 0
Expand Down
85 changes: 85 additions & 0 deletions .github/workflows/test-run-wo-codegen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
name: Nightly Test Run

on:
schedule: # UTC at 0400 on Monday and Thursday
- cron: '0 4 * * MON,THU'
workflow_dispatch:

jobs:
test:
name: Unit Testing
runs-on: [self-hosted, pyfluent]

steps:
- uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.9

- name: Cache pip
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: Python-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements/requirements_*.txt') }}
restore-keys: |
Python-${{ runner.os }}-${{ matrix.python-version }}

- name: Add version information
run: make version-info

- name: Install pyfluent
run: make install

- name: Retrieve PyFluent version
run: |
echo "PYFLUENT_VERSION=$(python -c "from ansys.fluent.core import __version__; print(__version__)")" >> $GITHUB_OUTPUT
echo "PYFLUENT version is: $(python -c "from ansys.fluent.core import __version__; print(__version__)")"
id: version

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ secrets.GH_USERNAME }}
password: ${{ secrets.REPO_DOWNLOAD_PAT }}

- name: Pull 22.2 Fluent docker image
run: make docker-pull
env:
FLUENT_IMAGE_TAG: v22.2.0

- name: Pull 23.1 Fluent docker image
run: make docker-pull
env:
FLUENT_IMAGE_TAG: v23.1.0

- name: Pull 23.2 Fluent docker image
run: make docker-pull
env:
FLUENT_IMAGE_TAG: v23.2.0

- name: 22.2 Unit Testing
run: make unittest-all-222
continue-on-error: true
env:
ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}
PYFLUENT_START_INSTANCE: 0
FLUENT_IMAGE_TAG: v22.2.0

- name: 23.1 Unit Testing
run: make unittest-all-231
continue-on-error: true
env:
ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}
PYFLUENT_START_INSTANCE: 0
FLUENT_IMAGE_TAG: v23.1.0

- name: 23.2 Unit Testing
run: make unittest-all-232
continue-on-error: true
env:
ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}
PYFLUENT_START_INSTANCE: 0
FLUENT_IMAGE_TAG: v23.2.0