Skip to content

Commit 39039a7

Browse files
committed
Merge branch 'main' of https://github.com/pyansys/pyfluent-visualization into main
2 parents ce7af90 + 9d363ee commit 39039a7

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

.github/workflows/nightly-test-run.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,17 @@ on:
55
- cron: '0 4 * * *'
66
workflow_dispatch:
77

8+
env:
9+
ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}
10+
PYFLUENT_LAUNCH_CONTAINER: 1
11+
812
jobs:
913
test:
1014
name: Unit Testing
1115
runs-on: ${{ matrix.os }}
1216
strategy:
1317
matrix:
14-
os: [windows-latest, ubuntu-latest]
18+
os: [windows-latest, public-ubuntu-latest-8-cores]
1519
python-version: ['3.10', '3.11', '3.12', '3.13']
1620
fail-fast: false
1721

@@ -24,13 +28,29 @@ jobs:
2428
python-version: ${{ matrix.python-version }}
2529

2630
- name: Install OS packages
27-
if: matrix.os == 'ubuntu-latest'
31+
if: matrix.os == 'public-ubuntu-latest-8-cores'
2832
run: |
2933
sudo apt update
3034
sudo apt install libegl1
3135
3236
- name: Install pyfluent-visualization
3337
run: make install
3438

39+
- name: Login to GitHub Container Registry
40+
if: matrix.os == 'public-ubuntu-latest-8-cores'
41+
uses: docker/login-action@v3
42+
with:
43+
registry: ghcr.io
44+
username: ${{ secrets.BOT_APPLICATION_ID }}
45+
password: ${{ secrets.GITHUB_TOKEN }}
46+
47+
- name: Pull Fluent docker image
48+
if: matrix.os == 'public-ubuntu-latest-8-cores'
49+
run: make docker-pull
50+
env:
51+
FLUENT_IMAGE_TAG: v25.2.0
52+
3553
- name: Test with pytest
3654
run: make unittest
55+
env:
56+
FLUENT_IMAGE_TAG: v25.2.0

0 commit comments

Comments
 (0)