Skip to content

Commit e040cd7

Browse files
authored
Update CI and test deps (#188)
* Update CI and test deps * Update JET * KrylovKit * Add KrylovKit * Switch to 1.11 since Zygote fails on 1.12
1 parent 5380155 commit e040cd7

File tree

7 files changed

+89
-127
lines changed

7 files changed

+89
-127
lines changed

.github/dependabot.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
2+
version: 2
3+
enable-beta-ecosystems: true # Julia ecosystem
4+
updates:
5+
- package-ecosystem: "github-actions"
6+
directory: "/" # Location of package manifests
7+
schedule:
8+
interval: "weekly"
9+
- package-ecosystem: "julia"
10+
directories: # Location of Julia projects
11+
- "/"
12+
- "/docs"
13+
- "/test"
14+
schedule:
15+
interval: "weekly"
16+
groups:
17+
# Group all Julia package updates into a single PR:
18+
all-julia-packages:
19+
patterns:
20+
- "*"

.github/workflows/CI.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
version: ['1.10', '1']
21+
version: ['1.10', '1.11']
2222
os: [ubuntu-latest]
2323
arch: [x64]
2424
allow_failure: [false]
@@ -47,12 +47,12 @@ jobs:
4747
- uses: actions/checkout@v4
4848
- uses: julia-actions/setup-julia@v2
4949
with:
50-
version: '1'
50+
version: '1.11'
5151
- uses: julia-actions/cache@v1
5252
- name: Install dependencies
5353
run: julia --project=docs/ -e 'using Pkg; Pkg.Registry.update(); Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
5454
- name: Build and deploy
5555
env:
5656
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
5757
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
58-
run: julia --project=docs/ docs/make.jl
58+
run: julia --project=docs/ docs/make.jl

.github/workflows/CompatHelper.yml

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

.github/workflows/Format.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Format suggestions
2+
on:
3+
pull_request:
4+
# this argument is not required if you don't use the `suggestion-label` input
5+
types: [opened, reopened, synchronize, labeled, unlabeled]
6+
jobs:
7+
code-style:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: julia-actions/julia-format@v4
11+
with:
12+
version: '1' # Set `version` to '1.0.54' if you need to use JuliaFormatter.jl v1.0.54 (default: '1')
13+
suggestion-label: 'format-suggest' # leave this unset or empty to show suggestions for all PRs

Project.toml

Lines changed: 0 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -21,78 +21,10 @@ ImplicitDifferentiationZygoteExt = "Zygote"
2121

2222
[compat]
2323
ADTypes = "1.9.0"
24-
Aqua = "0.8.13"
2524
ChainRulesCore = "1.25.0"
26-
ChainRulesTestUtils = "1.13.0"
27-
ComponentArrays = "0.15.27"
2825
DifferentiationInterface = "0.6.1,0.7"
29-
Documenter = "1.12.0"
30-
ExplicitImports = "1"
31-
FiniteDiff = "2.27.0"
3226
ForwardDiff = "0.10.36, 1"
33-
JET = "0.9, 0.10"
34-
JuliaFormatter = "2.1.2"
35-
Krylov = "0.9.6, 0.10"
3627
KrylovKit = "0.10.0"
3728
LinearAlgebra = "1"
38-
NLsolve = "4.5.1"
39-
Optim = "1.12.0"
40-
Random = "1"
41-
SparseArrays = "1"
42-
StaticArrays = "1.9.13"
43-
Test = "1"
44-
TestItemRunner = "1.1.0"
45-
TestItems = "1.0.0"
4629
Zygote = "0.7.4"
4730
julia = "1.10"
48-
49-
[extras]
50-
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
51-
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
52-
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
53-
ChainRulesTestUtils = "cdddcdb0-9152-4a09-a978-84456f9df70a"
54-
ComponentArrays = "b0b7db55-cfe3-40fc-9ded-d10e2dbeff66"
55-
DifferentiationInterface = "a0c0ee7d-e4b9-4e03-894e-1c5f64a51d63"
56-
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
57-
ExplicitImports = "7d51a73a-1435-4ff3-83d9-f097790105c7"
58-
FiniteDiff = "6a86dc24-6348-571c-b903-95158fe2bd41"
59-
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
60-
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
61-
JuliaFormatter = "98e50ef6-434e-11e9-1051-2b60c6c9e899"
62-
Krylov = "ba0b0d4f-ebba-5204-a429-3ac8c609bfb7"
63-
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
64-
NLsolve = "2774e3e8-f4cf-5e23-947b-6d7e65073b56"
65-
Optim = "429524aa-4258-5aef-a3af-852621145aeb"
66-
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
67-
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
68-
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
69-
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
70-
TestItemRunner = "f8b46487-2199-4994-9208-9a1283c18c0a"
71-
TestItems = "1c621080-faea-4a02-84b6-bbd5e436b8fe"
72-
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
73-
74-
[targets]
75-
test = [
76-
"ADTypes",
77-
"Aqua",
78-
"ChainRulesCore",
79-
"ChainRulesTestUtils",
80-
"ComponentArrays",
81-
"DifferentiationInterface",
82-
"Documenter",
83-
"ExplicitImports",
84-
"FiniteDiff",
85-
"ForwardDiff",
86-
"JET",
87-
"JuliaFormatter",
88-
"LinearAlgebra",
89-
"NLsolve",
90-
"Optim",
91-
"Random",
92-
"SparseArrays",
93-
"StaticArrays",
94-
"Test",
95-
"TestItems",
96-
"TestItemRunner",
97-
"Zygote",
98-
]

test/Project.toml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
[deps]
2+
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
3+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
4+
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
5+
ChainRulesTestUtils = "cdddcdb0-9152-4a09-a978-84456f9df70a"
6+
ComponentArrays = "b0b7db55-cfe3-40fc-9ded-d10e2dbeff66"
7+
DifferentiationInterface = "a0c0ee7d-e4b9-4e03-894e-1c5f64a51d63"
8+
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
9+
ExplicitImports = "7d51a73a-1435-4ff3-83d9-f097790105c7"
10+
FiniteDiff = "6a86dc24-6348-571c-b903-95158fe2bd41"
11+
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
12+
ImplicitDifferentiation = "57b37032-215b-411a-8a7c-41a003a55207"
13+
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
14+
KrylovKit = "0b1a1467-8014-51b9-945f-bf0ae24f4b77"
15+
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
16+
NLsolve = "2774e3e8-f4cf-5e23-947b-6d7e65073b56"
17+
Optim = "429524aa-4258-5aef-a3af-852621145aeb"
18+
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
19+
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
20+
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
21+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
22+
TestItemRunner = "f8b46487-2199-4994-9208-9a1283c18c0a"
23+
TestItems = "1c621080-faea-4a02-84b6-bbd5e436b8fe"
24+
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
25+
26+
[sources]
27+
ImplicitDifferentiation = { path = ".." }
28+
29+
[compat]
30+
ADTypes = "1.9.0"
31+
Aqua = "0.8.13"
32+
ChainRulesCore = "1.25.0"
33+
ChainRulesTestUtils = "1.13.0"
34+
ComponentArrays = "0.15.27"
35+
DifferentiationInterface = "0.6.1,0.7"
36+
Documenter = "1.12.0"
37+
ExplicitImports = "1"
38+
FiniteDiff = "2.27.0"
39+
ForwardDiff = "0.10.36, 1"
40+
JET = "0.9, 0.10, 0.11"
41+
KrylovKit = "0.10.2"
42+
LinearAlgebra = "1"
43+
NLsolve = "4.5.1"
44+
Optim = "1.12.0"
45+
Random = "1"
46+
SparseArrays = "1"
47+
StaticArrays = "1.9.13"
48+
Test = "1"
49+
TestItemRunner = "1.1.0"
50+
TestItems = "1.0.0"
51+
Zygote = "0.7.4"
52+
julia = "1.10"

test/formalities.jl

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,11 @@ using TestItems
77
Aqua.test_all(ImplicitDifferentiation; ambiguities=false, undocumented_names=true)
88
end
99

10-
@testitem "Formatting" begin
11-
using JuliaFormatter
12-
@test format(ImplicitDifferentiation; verbose=false, overwrite=false)
13-
end
14-
1510
@testitem "Static checking" begin
1611
using JET
1712
using ForwardDiff: ForwardDiff
1813
using Zygote: Zygote
19-
JET.test_package(ImplicitDifferentiation; target_defined_modules=true)
14+
JET.test_package(ImplicitDifferentiation; target_modules=(ImplicitDifferentiation,))
2015
end
2116

2217
@testitem "Imports" begin

0 commit comments

Comments
 (0)