Skip to content

Commit a7a5f1e

Browse files
committed
ci: fix invalidations CI
1 parent bec897f commit a7a5f1e

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

.github/workflows/Invalidations.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,36 @@ jobs:
2020
with:
2121
version: '1'
2222
- uses: actions/checkout@v4
23-
- uses: julia-actions/julia-buildpkg@v1
23+
- name: "Install Dependencies"
24+
run: |
25+
import Pkg
26+
Pkg.Registry.update()
27+
# Install packages present in subdirectories
28+
dev_pks = Pkg.PackageSpec[]
29+
for path in ("lib/SciMLJacobianOperators", "lib/BracketingNonlinearSolve", "lib/NonlinearSolveBase", "lib/SimpleNonlinearSolve", "lib/NonlinearSolveFirstOrder", "lib/NonlinearSolveSpectralMethods", "lib/NonlinearSolveQuasiNewton")
30+
push!(dev_pks, Pkg.PackageSpec(; path))
31+
end
32+
Pkg.develop(dev_pks)
33+
Pkg.instantiate()
34+
shell: julia --color=yes --code-coverage=user --depwarn=yes --project=. {0}
2435
- uses: julia-actions/julia-invalidations@v1
2536
id: invs_pr
2637

2738
- uses: actions/checkout@v4
2839
with:
2940
ref: ${{ github.event.repository.default_branch }}
30-
- uses: julia-actions/julia-buildpkg@v1
41+
- name: "Install Dependencies"
42+
run: |
43+
import Pkg
44+
Pkg.Registry.update()
45+
# Install packages present in subdirectories
46+
dev_pks = Pkg.PackageSpec[]
47+
for path in ("lib/SciMLJacobianOperators", "lib/BracketingNonlinearSolve", "lib/NonlinearSolveBase", "lib/SimpleNonlinearSolve", "lib/NonlinearSolveFirstOrder", "lib/NonlinearSolveSpectralMethods", "lib/NonlinearSolveQuasiNewton")
48+
push!(dev_pks, Pkg.PackageSpec(; path))
49+
end
50+
Pkg.develop(dev_pks)
51+
Pkg.instantiate()
52+
shell: julia --color=yes --code-coverage=user --depwarn=yes --project=. {0}
3153
- uses: julia-actions/julia-invalidations@v1
3254
id: invs_default
3355

0 commit comments

Comments
 (0)