Skip to content

Commit

Permalink
Make tests.yml explicitely set the Server Context for retro-compatibl…
Browse files Browse the repository at this point in the history
…ity with dpf_server 2023.2.pre0
  • Loading branch information
PProfizi committed Mar 31, 2023
1 parent 163197c commit 2102b72
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ jobs:
MODULE: ${{env.MODULE}}
PACKAGE_NAME: ${{env.PACKAGE_NAME}}
working-directory: src
env:
ANSYS_DPF_SERVER_CONTEXT: PREMIUM

- name: "Separate long Core tests"
shell: pwsh
Expand All @@ -174,6 +176,8 @@ jobs:
run: |
pytest $DEBUG $COVERAGE $RERUNS --junitxml=junit/test-results.xml .
if: always()
env:
ANSYS_DPF_SERVER_CONTEXT: PREMIUM

- name: "Kill all servers"
uses: pyansys/pydpf-actions/kill-dpf-servers@v2.3
Expand All @@ -187,6 +191,8 @@ jobs:
shell: bash
command: |
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=../tests/junit/test-results2.xml test_launcher/.
env:
ANSYS_DPF_SERVER_CONTEXT: PREMIUM

- name: "Kill all servers"
uses: pyansys/pydpf-actions/kill-dpf-servers@v2.3
Expand All @@ -201,6 +207,8 @@ jobs:
command: |
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=../tests/junit/test-results3.xml test_server/.
if: always()
env:
ANSYS_DPF_SERVER_CONTEXT: PREMIUM

- name: "Kill all servers"
uses: pyansys/pydpf-actions/kill-dpf-servers@v2.3
Expand All @@ -214,6 +222,8 @@ jobs:
shell: bash
command: |
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=../tests/junit/test-results4.xml test_local_server/.
env:
ANSYS_DPF_SERVER_CONTEXT: PREMIUM

- name: "Kill all servers"
uses: pyansys/pydpf-actions/kill-dpf-servers@v2.3
Expand All @@ -227,6 +237,8 @@ jobs:
shell: bash
command: |
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=../tests/junit/test-results5.xml test_multi_server/.
env:
ANSYS_DPF_SERVER_CONTEXT: PREMIUM

- name: "Kill all servers"
uses: pyansys/pydpf-actions/kill-dpf-servers@v2.3
Expand All @@ -240,6 +252,8 @@ jobs:
shell: bash
command: |
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=../tests/junit/test-results6.xml test_remote_workflow/.
env:
ANSYS_DPF_SERVER_CONTEXT: PREMIUM

- name: "Kill all servers"
uses: pyansys/pydpf-actions/kill-dpf-servers@v2.3
Expand All @@ -250,6 +264,8 @@ jobs:
working-directory: test_remote_operator
run: |
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=../tests/junit/test-results7.xml .
env:
ANSYS_DPF_SERVER_CONTEXT: PREMIUM

- name: "Kill all servers"
uses: pyansys/pydpf-actions/kill-dpf-servers@v2.3
Expand All @@ -265,6 +281,8 @@ jobs:
command: |
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=../tests/junit/test-results8.xml test_workflow/.
if: always()
env:
ANSYS_DPF_SERVER_CONTEXT: PREMIUM

- name: "Kill all servers"
uses: pyansys/pydpf-actions/kill-dpf-servers@v2.3
Expand All @@ -278,6 +296,8 @@ jobs:
shell: bash
command: |
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=tests/junit/test-results9.xml test_service/.
env:
ANSYS_DPF_SERVER_CONTEXT: PREMIUM

- name: "Kill all servers"
uses: pyansys/pydpf-actions/kill-dpf-servers@v2.2
Expand All @@ -290,6 +310,8 @@ jobs:
cd entry
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=junit/test-results10.xml .
if: always()
env:
ANSYS_DPF_SERVER_CONTEXT: ENTRY

- name: "Kill all servers"
uses: pyansys/pydpf-actions/kill-dpf-servers@v2.2
Expand Down

0 comments on commit 2102b72

Please sign in to comment.