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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- uses: actions/checkout@v3

- name: "Setup Python"
uses: actions/setup-python@v4
uses: actions/setup-python@v4.6.0
with:
python-version: ${{ env.MAIN_PYTHON_VERSION }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- uses: actions/checkout@v3

- name: "Setup Python"
uses: actions/setup-python@v4
uses: actions/setup-python@v4.6.0
with:
python-version: ${{ env.MAIN_PYTHON_VERSION }}

Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Set up Python"
uses: actions/setup-python@v4.1.0
uses: actions/setup-python@v4.6.0
with:
python-version: 3.9

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
echo "ANSYSLMD_LICENSE_FILE=1055@${{ secrets.LICENSE_SERVER }}" >> $GITHUB_ENV

- name: Setup Python
uses: actions/setup-python@v4.2.0
uses: actions/setup-python@v4.6.0
with:
python-version: ${{ inputs.python_version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
echo "ANSYSLMD_LICENSE_FILE=1055@${{ secrets.LICENSE_SERVER }}" >> $GITHUB_ENV

- name: Setup Python
uses: actions/setup-python@v4.2.0
uses: actions/setup-python@v4.6.0
with:
python-version: ${{ matrix.python-version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
- uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@v4.2.0
uses: actions/setup-python@v4.6.0
with:
python-version: ${{ matrix.python-version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
echo "ANSYSLMD_LICENSE_FILE=1055@${{ secrets.LICENSE_SERVER }}" >> $GITHUB_ENV

- name: Setup Python
uses: actions/setup-python@v4.2.0
uses: actions/setup-python@v4.6.0
with:
python-version: ${{ matrix.python-version }}

Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/pydpf-post.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
echo "ANSYSLMD_LICENSE_FILE=1055@${{ secrets.LICENSE_SERVER }}" >> $GITHUB_ENV

- name: "Setup Python"
uses: actions/setup-python@v2.1.4
uses: actions/setup-python@v4.6.0
with:
python-version: "3.8"

Expand Down Expand Up @@ -146,14 +146,8 @@ jobs:
shell: bash
working-directory: pydpf-post/tests
run: |
pytest $DEBUG --cov=ansys.dpf.post --cov-report=xml --cov-report=html --log-level=ERROR --junitxml=junit/test-results-post.xml --reruns 2 .
pytest $DEBUG --reruns 2 .
if: always()

- name: "Kill all servers"
uses: pyansys/pydpf-actions/[email protected]

- name: "Upload Test Results"
uses: actions/upload-artifact@v2
with:
name: ansys-dpf-post_pytest
path: pydpf-post/tests/junit/test-results-post.xml
22 changes: 11 additions & 11 deletions .github/workflows/test_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
- name: "Set pytest arguments"
shell: bash
run: |
echo "COVERAGE=--cov=ansys.dpf.${{env.MODULE}} --cov-report=xml --cov-report=html --log-level=ERROR" >> $GITHUB_ENV
echo "COVERAGE=--cov=ansys.dpf.${{env.MODULE}} --cov-report=xml --cov-report=html --log-level=ERROR --cov-append" >> $GITHUB_ENV
echo "RERUNS=--reruns 2 --reruns-delay 1" >> $GITHUB_ENV

- name: "Test API"
Expand All @@ -99,7 +99,7 @@ jobs:
max_attempts: 2
shell: bash
command: |
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=../tests/junit/test-results.xml tests/.
pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results.xml tests/.

- name: "Test API test_launcher"
uses: nick-fields/retry@v2
Expand All @@ -108,7 +108,7 @@ jobs:
max_attempts: 2
shell: bash
command: |
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=../tests/junit/test-results2.xml test_launcher/.
pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results2.xml test_launcher/.

- name: "Test API test_server"
uses: nick-fields/retry@v2
Expand All @@ -117,7 +117,7 @@ jobs:
max_attempts: 2
shell: bash
command: |
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=../tests/junit/test-results3.xml test_server/.
pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results3.xml test_server/.

- name: "Test API test_local_server"
uses: nick-fields/retry@v2
Expand All @@ -126,7 +126,7 @@ jobs:
max_attempts: 2
shell: bash
command: |
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=../tests/junit/test-results4.xml test_local_server/.
pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results4.xml test_local_server/.

- name: "Test API test_multi_server"
uses: nick-fields/retry@v2
Expand All @@ -135,7 +135,7 @@ jobs:
max_attempts: 2
shell: bash
command: |
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=../tests/junit/test-results5.xml test_multi_server/.
pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results5.xml test_multi_server/.

- name: "Test API test_remote_workflow"
uses: nick-fields/retry@v2
Expand All @@ -144,7 +144,7 @@ jobs:
max_attempts: 3
shell: bash
command: |
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=../tests/junit/test-results6.xml test_remote_workflow/.
pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results6.xml test_remote_workflow/.

- name: "Test API test_remote_operator"
uses: nick-fields/retry@v2
Expand All @@ -153,7 +153,7 @@ jobs:
max_attempts: 2
shell: bash
command: |
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=../tests/junit/test-results7.xml test_remote_operator/.
pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results7.xml test_remote_operator/.

- name: "Test API test_workflow"
uses: nick-fields/retry@v2
Expand All @@ -162,7 +162,7 @@ jobs:
max_attempts: 3
shell: bash
command: |
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=../tests/junit/test-results8.xml test_workflow/.
pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results8.xml test_workflow/.

- name: "Test API test_service"
uses: nick-fields/retry@v2
Expand All @@ -171,14 +171,14 @@ jobs:
max_attempts: 2
shell: bash
command: |
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=../tests/junit/test-results9.xml test_service/.
pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results9.xml test_service/.

- name: "Test API Entry"
shell: bash
working-directory: tests
run: |
cd entry
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=junit/test-results10.xml .
pytest $DEBUG $COVERAGE $RERUNS --junitxml=junit/test-results10.xml .
if: always()
timeout-minutes: 10

Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ jobs:
- name: "Set pytest arguments"
shell: bash
run: |
echo "COVERAGE=--cov=ansys.dpf.${{env.MODULE}} --cov-report=xml --cov-report=html --log-level=ERROR" >> $GITHUB_ENV
echo "COVERAGE=--cov=ansys.dpf.${{env.MODULE}} --cov-report=xml --cov-report=html --log-level=ERROR --cov-append" >> $GITHUB_ENV
echo "RERUNS=--reruns 2 --reruns-delay 1" >> $GITHUB_ENV

- name: "Test API"
Expand All @@ -186,7 +186,7 @@ jobs:
max_attempts: 2
shell: bash
command: |
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=../tests/junit/test-results2.xml test_launcher/.
pytest $DEBUG $COVERAGE $RERUNS --junitxml=../tests/junit/test-results2.xml test_launcher/.

- name: "Kill all servers"
uses: pyansys/pydpf-actions/[email protected]
Expand All @@ -199,7 +199,7 @@ jobs:
max_attempts: 2
shell: bash
command: |
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=../tests/junit/test-results3.xml test_server/.
pytest $DEBUG $COVERAGE $RERUNS --junitxml=../tests/junit/test-results3.xml test_server/.
if: always()

- name: "Kill all servers"
Expand All @@ -213,7 +213,7 @@ jobs:
max_attempts: 2
shell: bash
command: |
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=../tests/junit/test-results4.xml test_local_server/.
pytest $DEBUG $COVERAGE $RERUNS --junitxml=../tests/junit/test-results4.xml test_local_server/.

- name: "Kill all servers"
uses: pyansys/pydpf-actions/[email protected]
Expand All @@ -226,7 +226,7 @@ jobs:
max_attempts: 2
shell: bash
command: |
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=../tests/junit/test-results5.xml test_multi_server/.
pytest $DEBUG $COVERAGE $RERUNS --junitxml=../tests/junit/test-results5.xml test_multi_server/.

- name: "Kill all servers"
uses: pyansys/pydpf-actions/[email protected]
Expand All @@ -239,7 +239,7 @@ jobs:
max_attempts: 3
shell: bash
command: |
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=../tests/junit/test-results6.xml test_remote_workflow/.
pytest $DEBUG $COVERAGE $RERUNS --junitxml=../tests/junit/test-results6.xml test_remote_workflow/.

- name: "Kill all servers"
uses: pyansys/pydpf-actions/[email protected]
Expand All @@ -249,7 +249,7 @@ jobs:
shell: bash
working-directory: test_remote_operator
run: |
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=../tests/junit/test-results7.xml .
pytest $DEBUG $COVERAGE $RERUNS --junitxml=../tests/junit/test-results7.xml .

- name: "Kill all servers"
uses: pyansys/pydpf-actions/[email protected]
Expand All @@ -263,7 +263,7 @@ jobs:
retry_wait_seconds: 15
shell: bash
command: |
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=../tests/junit/test-results8.xml test_workflow/.
pytest $DEBUG $COVERAGE $RERUNS --junitxml=../tests/junit/test-results8.xml test_workflow/.
if: always()

- name: "Kill all servers"
Expand All @@ -277,7 +277,7 @@ jobs:
max_attempts: 2
shell: bash
command: |
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=tests/junit/test-results9.xml test_service/.
pytest $DEBUG $COVERAGE $RERUNS --junitxml=tests/junit/test-results9.xml test_service/.

- name: "Kill all servers"
uses: pyansys/pydpf-actions/[email protected]
Expand All @@ -288,7 +288,7 @@ jobs:
working-directory: tests
run: |
cd entry
pytest $DEBUG $COVERAGE --cov-append $RERUNS --junitxml=junit/test-results10.xml .
pytest $DEBUG $COVERAGE $RERUNS --junitxml=../junit/test-results10.xml .
if: always()
timeout-minutes: 30

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_operators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@v4.2.0
uses: actions/setup-python@v4.6.0
with:
python-version: "3.10"

Expand Down