| 1 |
name: Test dolfinx versions |
| 2 |
|
| 3 |
on: |
| 4 |
workflow_call: |
| 5 |
inputs: |
| 6 |
dolfinx_tag: |
| 7 |
required: true |
| 8 |
type: string |
| 9 |
pull_request: |
| 10 |
|
| 11 |
jobs: |
| 12 |
# 1. Prerequisite jobs (Data creation) |
| 13 |
create-datasets: |
| 14 |
uses: ./.github/workflows/create_legacy_data.yml |
| 15 |
with: |
| 16 |
artifact_name: "legacy_mpich" |
| 17 |
|
| 18 |
create-legacy-datasets: |
| 19 |
uses: ./.github/workflows/create_legacy_checkpoint.yml |
| 20 |
with: |
| 21 |
artifact_name: "legacy_checkpoint_mpich" |
| 22 |
|
| 23 |
# 2. The Matrix Job |
| 24 |
run-tests: |
| 25 |
needs: [create-datasets, create-legacy-datasets] |
| 26 |
strategy: |
| 27 |
fail-fast: false |
| 28 |
matrix: |
| 29 |
tag: ["nightly", "stable"] |
| 30 |
|
| 31 |
# Call the reusable workflow |
| 32 |
uses: ./.github/workflows/test_workflow.yml |
| 33 |
with: |
| 34 |
tag: ${{ matrix.tag }} |