Skip to content
Merged
Changes from 9 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
91 changes: 21 additions & 70 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,12 @@ jobs:
name: ${{ steps.wheel.outputs.wheel_name }}
path: dist/${{ steps.wheel.outputs.wheel_name }}

tests:
tests-latest:
name: "Test ${{ matrix.test-any == 'true' && 'any' || 'platform-specific' }} wheel against latest DPF version"
strategy:
fail-fast: false
matrix:
test-any: ['false', 'true']
uses: ./.github/workflows/tests.yml
needs: pick_server_suffix
with:
Expand All @@ -110,18 +115,7 @@ jobs:
wheel: true
wheelhouse: false
standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}
secrets: inherit

tests_any:
uses: ./.github/workflows/tests.yml
needs: pick_server_suffix
with:
ANSYS_VERSION: ${{ github.event.inputs.ansys_version || '252' }}
python_versions: '["3.10"]'
wheel: true
wheelhouse: false
standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}
test_any: true
test_any: ${{ matrix.test-any }}
secrets: inherit

docker_tests:
Expand Down Expand Up @@ -179,68 +173,25 @@ jobs:
standalone_suffix: ${{needs.pick_server_suffix.outputs.suffix}}
secrets: inherit

retro_251:
name: "retro 251"
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
uses: ./.github/workflows/tests.yml
with:
ANSYS_VERSION: "251"
python_versions: '["3.10"]'
DOCSTRING: false
standalone_suffix: ''
secrets: inherit

retro_242:
name: "retro 242"
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
uses: ./.github/workflows/tests.yml
with:
ANSYS_VERSION: "242"
python_versions: '["3.10"]'
DOCSTRING: false
standalone_suffix: ''
secrets: inherit

retro_241:
name: "retro 241"
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
uses: ./.github/workflows/tests.yml
with:
ANSYS_VERSION: "241"
python_versions: '["3.10"]'
DOCSTRING: false
standalone_suffix: '.sp01'
secrets: inherit

retro_232:
name: "retro 232"
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
uses: ./.github/workflows/tests.yml
with:
ANSYS_VERSION: "232"
python_versions: '["3.10"]'
DOCSTRING: false
standalone_suffix: ''
secrets: inherit

retro_231:
name: "retro 231"
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
uses: ./.github/workflows/tests.yml
with:
ANSYS_VERSION: "231"
python_versions: '["3.10"]'
DOCSTRING: false
secrets: inherit

retro_222:
name: "retro 222"
tests-retro:
name: "Test DPF ${{ matrix.dpf.version }} compatibility"
if: startsWith(github.head_ref, 'master') || github.event.action == 'ready_for_review' || !github.event.pull_request.draft
strategy:
fail-fast: false
matrix:
dpf:
- {"version": "251", "standalone-suffix": ""}
- {"version": "242", "standalone-suffix": ""}
- {"version": "241", "standalone-suffix": ".sp01"}
- {"version": "232", "standalone-suffix": ""}
- {"version": "231", "standalone-suffix": ""}
- {"version": "222", "standalone-suffix": ""}
uses: ./.github/workflows/tests.yml
with:
ANSYS_VERSION: "222"
ANSYS_VERSION: ${{ matrix.dpf.version }}
python_versions: '["3.10"]'
DOCSTRING: false
standalone_suffix: ${{ matrix.dpf.standalone-suffix }}
secrets: inherit

pydpf-post:
Expand Down
Loading