Skip to content

Commit a70895e

Browse files
jkrumbiegelgordonwoodhull
authored andcommitted
ci: extract extension test merge into reusable composite action
Used in both test-smokes-parallel.yml (for bucket discovery) and test-smokes.yml (for each test runner job's fresh checkout).
1 parent a871eac commit a70895e

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: "Merge extension tests into test tree"
2+
description: >
3+
Copies test files from extension subtrees into the main test directories
4+
so they are discovered by the test runner and bucket creation.
5+
Extension tests live in their own repos (single source of truth) and are
6+
pulled in via git subtree — this step avoids duplicating them.
7+
8+
runs:
9+
using: "composite"
10+
steps:
11+
- name: Merge julia-engine tests
12+
shell: bash
13+
run: |
14+
SUBTREE=src/resources/extension-subtrees/julia-engine/tests
15+
cp -r "$SUBTREE/docs/julia-engine" tests/docs/julia-engine
16+
cp -r "$SUBTREE/smoke/julia-engine" tests/smoke/julia-engine

.github/workflows/test-smokes-parallel.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ jobs:
6060
with:
6161
version: ${{ github.ref == 'refs/heads/main' && 'pre-release' || 'release' }}
6262

63+
- uses: ./.github/actions/merge-extension-tests
64+
6365
- name: Create Job for tests
6466
id: tests-buckets
6567
run: |

.github/workflows/test-smokes.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,8 @@ jobs:
241241
echo "Julia Jupyter:"
242242
uv run julia --project=. -e "import IJulia;println(IJulia.JUPYTER);println(IJulia.find_jupyter_subcommand(\"notebook\"))"
243243
244+
- uses: ./.github/actions/merge-extension-tests
245+
244246
- name: Setup timing file for timed test
245247
if: ${{ matrix.time-test == true }}
246248
run: |

0 commit comments

Comments
 (0)