Skip to content

Commit 6bc7647

Browse files
Merge pull request #2706 from SciML/dw/compathelper
Run CompatHelper also for subpackages
2 parents 21178a3 + 109d9f0 commit 6bc7647

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/CompatHelper.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,14 @@ jobs:
4040
- name: "Run CompatHelper"
4141
run: |
4242
import CompatHelper
43-
CompatHelper.main(; subdirs=["", "docs", "test/downstream", "lib"])
43+
subdirs = ["", "docs", "test/downstream", "test/gpu", "docs"]
44+
for f in readdir("lib"; join=true)
45+
if isdir(f) && isfile(joinpath(f, "Project.toml"))
46+
push!(subdirs, joinpath("lib", basename(f)))
47+
end
48+
end
49+
@info "CompatHelper directories" subdirs
50+
CompatHelper.main(; subdirs)
4451
shell: julia --color=yes {0}
4552
env:
4653
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)