Skip to content

Commit 94b1e04

Browse files
ci: fold bespoke GPU.yml into CI.yml [GPU] group; canonical group Project.tomls
Replace the root Tests.yml + bespoke GPU.yml with a single canonical CI.yml (matching the OrdinaryDiffEq umbrella layout): - CI.yml carries the version matrix for the root base groups (Core/SymbolicIndexingInterface/Downstream/NoPre on [lts, 1, pre], NoPre excluded on pre) via SciML/.github tests.yml@v1. - The GPU tests become a dep-adding group on the self-hosted GPU runner: a dedicated CI.yml job passes group=GPU and runner=[self-hosted, Linux, X64, gpu] to tests.yml@v1 (which sets GROUP=GPU; runtests.jl then activates test/gpu and runs the GPU safetestsets). This reproduces the former GPU.yml (same runner labels, 60-min timeout, src,ext coverage) so GPU.yml is deleted. - Give the dep-adding root group Project.tomls the canonical [sources] = {path=../..} (+ sibling sublib paths) plus the package and Test deps so they resolve on Julia >= 1.11 against the PR-branch code: - test/gpu: add Adapt/ArrayInterface/RecursiveArrayTools/Test/Zygote + [sources] for the root and RecursiveArrayToolsArrayPartitionAnyAll. - test/nopre: add RecursiveArrayTools + [sources]. - test/downstream: add Test + [sources] for root and RecursiveArrayToolsShorthandConstructors. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent d19e184 commit 94b1e04

5 files changed

Lines changed: 48 additions & 41 deletions

File tree

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Tests"
1+
name: CI
22

33
on:
44
pull_request:
@@ -23,20 +23,36 @@ jobs:
2323
fail-fast: false
2424
matrix:
2525
version:
26-
- "1"
2726
- "lts"
27+
- "1"
2828
- "pre"
2929
group:
3030
- "Core"
31+
- "SymbolicIndexingInterface"
3132
- "Downstream"
3233
- "NoPre"
3334
exclude:
35+
# JET (NoPre) is not run on prereleases.
3436
- version: "pre"
3537
group: "NoPre"
3638
uses: "SciML/.github/.github/workflows/tests.yml@v1"
3739
with:
3840
julia-version: "${{ matrix.version }}"
3941
group: "${{ matrix.group }}"
4042
num-threads: "2"
43+
check-bounds: "auto"
44+
coverage-directories: "src,ext"
45+
secrets: "inherit"
46+
47+
# GPU tests are a dep-adding group (test/gpu/Project.toml) that runs on the
48+
# self-hosted GPU runner. Folded in from the former bespoke GPU.yml.
49+
gpu:
50+
name: "GPU Tests"
51+
uses: "SciML/.github/.github/workflows/tests.yml@v1"
52+
with:
53+
julia-version: "1"
54+
group: "GPU"
55+
runner: '["self-hosted", "Linux", "X64", "gpu"]'
56+
timeout-minutes: 60
4157
coverage-directories: "src,ext"
4258
secrets: "inherit"

.github/workflows/GPU.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

test/downstream/Project.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,15 @@ RecursiveArrayToolsShorthandConstructors = "39fb7555-b4ad-4efd-8abe-30331df017d3
1010
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
1111
SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5"
1212
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
13+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1314
Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c"
1415
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
1516
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
1617

18+
[sources]
19+
RecursiveArrayTools = {path = "../.."}
20+
RecursiveArrayToolsShorthandConstructors = {path = "../../lib/RecursiveArrayToolsShorthandConstructors"}
21+
1722
[compat]
1823
ArrayInterface = "7"
1924
ModelingToolkit = "8.33, 9, 10, 11"
@@ -22,8 +27,11 @@ NLsolve = "4"
2227
OrdinaryDiffEq = "6.31, 7"
2328
OrdinaryDiffEqRosenbrock = "1, 2"
2429
StaticArrays = "1"
30+
RecursiveArrayTools = "4"
31+
RecursiveArrayToolsShorthandConstructors = "1"
2532
SymbolicIndexingInterface = "0.3"
2633
Tables = "1"
34+
Test = "1"
2735
Tracker = "0.2"
2836
Unitful = "1.17"
2937
Zygote = "0.6, 0.7"

test/gpu/Project.toml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,23 @@
11
[deps]
2+
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
3+
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
24
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
35
KernelAbstractions = "63c18a36-062a-441e-b654-da1e3ab1ce7c"
6+
RecursiveArrayTools = "731186ca-8d62-57ce-b412-fbd966d074cd"
47
RecursiveArrayToolsArrayPartitionAnyAll = "172d604e-c495-4f00-97bf-d70957099afa"
8+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
9+
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
10+
11+
[sources]
12+
RecursiveArrayTools = {path = "../.."}
13+
RecursiveArrayToolsArrayPartitionAnyAll = {path = "../../lib/RecursiveArrayToolsArrayPartitionAnyAll"}
514

615
[compat]
16+
Adapt = "4"
17+
ArrayInterface = "7.17.0"
718
CUDA = "3.12, 4, 5"
8-
KernelAbstractions = "0.9"
19+
KernelAbstractions = "0.9.36"
20+
RecursiveArrayTools = "4"
21+
RecursiveArrayToolsArrayPartitionAnyAll = "1"
22+
Test = "1"
23+
Zygote = "0.7"

test/nopre/Project.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
[deps]
22
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
3+
RecursiveArrayTools = "731186ca-8d62-57ce-b412-fbd966d074cd"
34
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
45

6+
[sources]
7+
RecursiveArrayTools = {path = "../.."}
8+
59
[compat]
610
JET = "0.9, 0.10, 0.11"
11+
RecursiveArrayTools = "4"
12+
Test = "1"

0 commit comments

Comments
 (0)