Skip to content

Commit 2c900d0

Browse files
committed
test fluent server
1 parent 0385369 commit 2c900d0

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

.ci/download_fluent.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,15 @@ jobs:
174174
- name: Install pyvistaqt requirements
175175
run: make install-pyvistaqt-requirements
176176

177+
- name: Login to GitHub Container Registry
178+
uses: docker/login-action@v1
179+
with:
180+
registry: ghcr.io
181+
username: ${{ secrets.GH_USERNAME }}
182+
password: ${{ secrets.REPO_DOWNLOAD_PAT }}
183+
177184
- name: Pull Fluent docker image
178-
run: .ci/download_fluent.sh
179-
env:
180-
GH_USERNAME: ${{ secrets.GH_USERNAME }}
181-
GH_PAT: ${{ secrets.REPO_DOWNLOAD_PAT }}
185+
run: make docker-pull
182186

183187
- name: Unit Testing
184188
run: make unittest

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ install-pyvistaqt-requirements:
2121
test-import:
2222
@python -c "import ansys.fluent.core as pyfluent"
2323

24+
docker-pull:
25+
@docker pull ghcr.io/pyansys/pyfluent:latest
26+
2427
unittest:
2528
@echo "Running unittest"
2629
@pip install -r requirements_test.txt

0 commit comments

Comments
 (0)