Skip to content

Commit 4b44a24

Browse files
Merge pull request #831 from sathvikbhagavan/sb/downgrade
ci: add Downgrade CI
2 parents 2daf59b + 55017b4 commit 4b44a24

File tree

2 files changed

+88
-28
lines changed

2 files changed

+88
-28
lines changed

.github/workflows/Downgrade.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: Downgrade
2+
on:
3+
pull_request:
4+
branches:
5+
- master
6+
paths-ignore:
7+
- 'docs/**'
8+
push:
9+
branches:
10+
- master
11+
paths-ignore:
12+
- 'docs/**'
13+
jobs:
14+
test:
15+
runs-on: ubuntu-latest
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
group:
20+
- QA
21+
- ODEBPINN
22+
- PDEBPINN
23+
- NNPDE1
24+
- NNPDE2
25+
- AdaptiveLoss
26+
- Logging
27+
- Forward
28+
- DGM
29+
version:
30+
- "1"
31+
steps:
32+
- uses: actions/checkout@v4
33+
- uses: julia-actions/setup-julia@v1
34+
with:
35+
version: ${{ matrix.version }}
36+
- uses: actions/cache@v4
37+
env:
38+
cache-name: cache-artifacts
39+
with:
40+
path: ~/.julia/artifacts
41+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
42+
restore-keys: |
43+
${{ runner.os }}-test-${{ env.cache-name }}-
44+
${{ runner.os }}-test-
45+
${{ runner.os }}-
46+
- uses: julia-actions/julia-downgrade-compat@v1
47+
with:
48+
skip: LinearAlgebra, Pkg, Random, Test
49+
- uses: julia-actions/julia-buildpkg@v1
50+
- uses: julia-actions/julia-runtest@v1
51+
env:
52+
GROUP: ${{ matrix.group }}
53+
- uses: julia-actions/julia-processcoverage@v1
54+
with:
55+
directories: src,lib/NeuralPDELogging/src
56+
- uses: codecov/codecov-action@v4
57+
with:
58+
files: lcov.info
59+
token: ${{ secrets.CODECOV_TOKEN }}
60+
fail_ci_if_error: true

Project.toml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -40,50 +40,50 @@ Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
4040

4141
[compat]
4242
Adapt = "4"
43-
AdvancedHMC = "0.6"
43+
AdvancedHMC = "0.6.1"
4444
Aqua = "0.8"
45-
ArrayInterface = "7"
46-
CUDA = "5.1"
47-
ChainRulesCore = "1"
48-
ComponentArrays = "0.15"
45+
ArrayInterface = "7.7"
46+
CUDA = "5.2"
47+
ChainRulesCore = "1.18"
48+
ComponentArrays = "0.15.8"
4949
Cubature = "1.5"
50-
DiffEqBase = "6"
51-
DiffEqNoiseProcess = "5.1"
52-
Distributions = "0.25"
50+
DiffEqBase = "6.144"
51+
DiffEqNoiseProcess = "5.20"
52+
Distributions = "0.25.107"
5353
DocStringExtensions = "0.9"
5454
DomainSets = "0.6, 0.7"
55-
Flux = "0.14"
56-
ForwardDiff = "0.10"
57-
Functors = "0.4"
55+
Flux = "0.14.11"
56+
ForwardDiff = "0.10.36"
57+
Functors = "0.4.4"
5858
Integrals = "4"
5959
LineSearches = "7.2"
6060
LinearAlgebra = "1"
6161
LogDensityProblems = "2"
62-
Lux = "0.5"
63-
LuxCUDA = "0.3"
62+
Lux = "0.5.14"
63+
LuxCUDA = "0.3.2"
6464
MCMCChains = "6"
65-
ModelingToolkit = "8"
66-
MonteCarloMeasurements = "1"
65+
MethodOfLines = "0.10.7"
66+
ModelingToolkit = "8.75"
67+
MonteCarloMeasurements = "1.1"
6768
Optim = "1.7.8"
68-
Optimization = "3"
69-
OptimizationOptimJL = "0.2"
70-
OptimizationOptimisers = "0.2"
71-
OrdinaryDiffEq = "6"
69+
Optimization = "3.22"
70+
OptimizationOptimJL = "0.2.1"
71+
OptimizationOptimisers = "0.2.1"
72+
OrdinaryDiffEq = "6.70"
7273
Pkg = "1"
7374
QuasiMonteCarlo = "0.3.2"
7475
Random = "1"
75-
Reexport = "1.0"
76-
RuntimeGeneratedFunctions = "0.5"
76+
Reexport = "1.2"
77+
RuntimeGeneratedFunctions = "0.5.11"
7778
SafeTestsets = "0.1"
78-
SciMLBase = "2"
79-
Statistics = "1"
80-
SymbolicUtils = "1"
81-
Symbolics = "5"
79+
SciMLBase = "2.24"
80+
Statistics = "1.10"
81+
SymbolicUtils = "1.4"
82+
Symbolics = "5.17"
8283
Test = "1"
8384
UnPack = "1"
84-
Zygote = "0.6"
85-
MethodOfLines = "0.10.7"
86-
julia = "1.6"
85+
Zygote = "0.6.68"
86+
julia = "1.10"
8787

8888
[extras]
8989
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"

0 commit comments

Comments
 (0)