Skip to content

Commit e4a7982

Browse files
authored
Adds downgrade compat check (#52)
* Adds downgrade compat check * Updates some broken compats
1 parent 92408f8 commit e4a7982

File tree

3 files changed

+47
-15
lines changed

3 files changed

+47
-15
lines changed

.github/workflows/CI.yml

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ concurrency:
1313
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
1414
jobs:
1515
tests:
16-
name: "Tests"
16+
name: Tests
1717
strategy:
1818
fail-fast: false
1919
matrix:
@@ -38,6 +38,38 @@ jobs:
3838
project: "${{ matrix.project }}"
3939
group: "all"
4040
secrets: "inherit"
41+
downgrade:
42+
name: Downgrade
43+
runs-on: ubuntu-latest
44+
strategy:
45+
fail-fast: false
46+
matrix:
47+
version:
48+
- '1.11'
49+
os:
50+
- ubuntu-latest
51+
arch:
52+
- x64
53+
project:
54+
- '.'
55+
- 'lib/NeuralLyapunovProblemLibrary'
56+
allow_failure:
57+
- false
58+
steps:
59+
- uses: actions/checkout@v4
60+
- uses: julia-actions/setup-julia@v2
61+
with:
62+
version: ${{ matrix.version }}
63+
- uses: julia-actions/julia-downgrade-compat@v1
64+
with:
65+
projects: ${{matrix.project}}
66+
skip: LinearAlgebra, Random, Test
67+
- uses: julia-actions/julia-buildpkg@v1
68+
- uses: julia-actions/julia-runtest@v1
69+
with:
70+
project: ${{ matrix.project }}
71+
env:
72+
GROUP: "all"
4173
docs:
4274
name: Documentation
4375
runs-on: ubuntu-latest

Project.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,29 @@ Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7"
2323
Aqua = "0.8.11"
2424
Boltz = "1.2"
2525
CSDP = "1"
26-
ComponentArrays = "0.15"
26+
ComponentArrays = "0.15.16"
2727
EvalMetrics = "0.3"
2828
ExplicitImports = "1.11.2"
29-
ForwardDiff = "0.10"
29+
ForwardDiff = "0.10.36"
3030
JuMP = "1"
3131
LinearAlgebra = "1"
32-
Lux = "1"
32+
Lux = "1.2"
3333
LuxCUDA = "0.3.3"
34-
LuxCore = "1.1.0"
34+
LuxCore = "1.1"
3535
ModelingToolkit = "9.77"
3636
NLopt = "1"
3737
NeuralPDE = "5.17"
38-
Optimization = "3, 4"
38+
Optimization = "4"
3939
OptimizationOptimJL = "0.4"
4040
OptimizationOptimisers = "0.3"
41-
OrdinaryDiffEq = "6"
41+
OrdinaryDiffEq = "6.90"
4242
QuasiMonteCarlo = "0.3.3"
4343
Random = "1"
4444
SafeTestsets = "0.1"
45-
SciMLBase = "2"
46-
StableRNGs = "1.0.2"
45+
SciMLBase = "2.85"
46+
StableRNGs = "1"
4747
SymbolicIndexingInterface = "0.3.40"
48-
Symbolics = "6.31.1"
48+
Symbolics = "6.37"
4949
Test = "1"
5050
julia = "1.11"
5151

lib/NeuralLyapunovProblemLibrary/Project.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ NeuralLyapunovProblemLibraryPlotsExt = "Plots"
2020
Aqua = "0.8.11"
2121
ControlSystemsBase = "1.14.4"
2222
ExplicitImports = "1.11.2"
23-
LinearAlgebra = "1.11.0"
23+
LinearAlgebra = "1"
2424
ModelingToolkit = "9.77"
25-
OrdinaryDiffEq = "6.91.0"
25+
OrdinaryDiffEq = "6.91"
2626
Plots = "1.40.9"
2727
Rotations = "1.7.1"
2828
SafeTestsets = "0.1.0"
29-
SciMLBase = "2.75.1"
30-
StableRNGs = "1.0.2"
31-
Symbolics = "6.29.2"
29+
SciMLBase = "2.85"
30+
StableRNGs = "1"
31+
Symbolics = "6.37"
3232
Test = "1"
3333
julia = "1.11"
3434

0 commit comments

Comments
 (0)