Skip to content

Commit 4ba32e3

Browse files
committed
Make test-code require create-dataset
1 parent 8e0465b commit 4ba32e3

File tree

3 files changed

+14
-24
lines changed

3 files changed

+14
-24
lines changed

.github/workflows/deploy_pages.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,6 @@ concurrency:
1717
cancel-in-progress: true
1818

1919
jobs:
20-
create-datasets:
21-
uses: ./.github/workflows/create_legacy_data.yml
22-
with:
23-
artifact_name: "legacy_mpich"
24-
25-
create-legacy-datasets:
26-
uses: ./.github/workflows/create_legacy_checkpoint.yml
27-
with:
28-
artifact_name: "legacy_checkpoint_mpich"
29-
3020
build-docs:
3121
uses: ./.github/workflows/build_docs.yml
3222
with:
@@ -38,7 +28,7 @@ jobs:
3828
dolfinx_tag: "stable"
3929

4030
deploy:
41-
needs: [create-datasets, create-legacy-datasets, build-docs, test-code]
31+
needs: [build-docs, test-code]
4232

4333
environment:
4434
name: github-pages

.github/workflows/test_dolfinx_versions.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,7 @@ on:
66
pull_request:
77

88
jobs:
9-
# 1. Prerequisite jobs (Data creation)
10-
create-datasets:
11-
uses: ./.github/workflows/create_legacy_data.yml
12-
with:
13-
artifact_name: "legacy_mpich"
14-
15-
create-legacy-datasets:
16-
uses: ./.github/workflows/create_legacy_checkpoint.yml
17-
with:
18-
artifact_name: "legacy_checkpoint_mpich"
19-
20-
# 2. The Matrix Job
219
run-tests:
22-
needs: [create-datasets, create-legacy-datasets]
2310
strategy:
2411
fail-fast: false
2512
matrix:

.github/workflows/test_workflow.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,20 @@ on:
88
type: string
99

1010
jobs:
11+
12+
create-datasets:
13+
uses: ./.github/workflows/create_legacy_data.yml
14+
with:
15+
artifact_name: "legacy_mpich"
16+
17+
create-legacy-datasets:
18+
uses: ./.github/workflows/create_legacy_checkpoint.yml
19+
with:
20+
artifact_name: "legacy_checkpoint_mpich"
21+
22+
1123
test-code:
24+
needs: [create-datasets, create-legacy-datasets]
1225
runs-on: ubuntu-24.04
1326
# The container tag is now dynamic based on the input passed by the caller
1427
container: ghcr.io/fenics/dolfinx/dolfinx:${{ inputs.dolfinx_tag }}

0 commit comments

Comments
 (0)