Skip to content

Commit fbcaca1

Browse files
ci: canonicalize TagBot, .gitignore, and NoPre group casing
- TagBot.yml: adopt canonical OrdinaryDiffEq structure — top-level permissions block, workflow_dispatch.inputs.lookback default "3", named root TagBot job, and a TagBot-Subpackages matrix (fail-fast: false) over the three registered sublibraries, each invoking TagBot@v1 with subdir: lib/<package>. - .gitignore: complete to canonical set (docs/build, LocalPreferences.toml, *.jl.*.mem, *.DS_Store, profile.pb.gz, .*.swp, .claude/, etc.). - Casing: rename the special test group "nopre" -> "NoPre" on both sides of the workflow<->runtests contract (Tests.yml matrix.group + exclude, and runtests.jl GROUP comparison) so it is canonical Title-case and case-consistent. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 31ac1d8 commit fbcaca1

4 files changed

Lines changed: 50 additions & 4 deletions

File tree

.github/workflows/TagBot.yml

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,53 @@
11
name: TagBot
2+
23
on:
34
issue_comment:
45
types:
56
- created
67
workflow_dispatch:
8+
inputs:
9+
lookback:
10+
default: "3"
11+
12+
permissions:
13+
actions: read
14+
checks: read
15+
contents: write
16+
deployments: read
17+
issues: read
18+
discussions: read
19+
packages: read
20+
pages: read
21+
pull-requests: read
22+
repository-projects: read
23+
security-events: read
24+
statuses: read
25+
726
jobs:
827
TagBot:
928
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
1029
runs-on: ubuntu-latest
1130
steps:
12-
- uses: JuliaRegistries/TagBot@v1
31+
- name: Tag RecursiveArrayTools
32+
uses: JuliaRegistries/TagBot@v1
1333
with:
1434
token: ${{ secrets.GITHUB_TOKEN }}
1535
ssh: ${{ secrets.DOCUMENTER_KEY }}
36+
37+
TagBot-Subpackages:
38+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
39+
runs-on: ubuntu-latest
40+
strategy:
41+
fail-fast: false
42+
matrix:
43+
package:
44+
- RecursiveArrayToolsArrayPartitionAnyAll
45+
- RecursiveArrayToolsRaggedArrays
46+
- RecursiveArrayToolsShorthandConstructors
47+
steps:
48+
- name: Tag ${{ matrix.package }}
49+
uses: JuliaRegistries/TagBot@v1
50+
with:
51+
token: ${{ secrets.GITHUB_TOKEN }}
52+
ssh: ${{ secrets.DOCUMENTER_KEY }}
53+
subdir: "lib/${{ matrix.package }}"

.github/workflows/Tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
group:
3030
- "Core"
3131
- "Downstream"
32-
- "nopre"
32+
- "NoPre"
3333
exclude:
3434
- version: "pre"
35-
group: "nopre"
35+
group: "NoPre"
3636
uses: "SciML/.github/.github/workflows/tests.yml@v1"
3737
with:
3838
julia-version: "${{ matrix.version }}"

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
*.jl.cov
22
*.jl.*.cov
33
*.jl.mem
4+
*.jl.*.mem
45
Manifest.toml
6+
*.DS_Store
57
.vscode
8+
profile.pb.gz
9+
.*.swp
10+
LocalPreferences.toml
11+
12+
docs/build
13+
.claude/

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ end
133133
@time @safetestset "ArrayPartition GPU" include("gpu/arraypartition_gpu.jl")
134134
end
135135

136-
if GROUP == "nopre"
136+
if GROUP == "NoPre"
137137
activate_nopre_env()
138138
@time @safetestset "JET Tests" include("jet_tests.jl")
139139
end

0 commit comments

Comments
 (0)