Skip to content

Commit

Permalink
Downgrade CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnoStrouwen authored and ChrisRackauckas committed Dec 27, 2023
1 parent af449af commit 96b7477
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 20 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/Downgrade.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Downgrade
on:
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'
push:
branches:
- master
paths-ignore:
- 'docs/**'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
version: ['1']
group:
- Core
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
- uses: cjdoris/julia-downgrade-compat-action@v1
# if: ${{ matrix.version == '1.6' }}
with:
skip: Pkg,TOML
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
18 changes: 8 additions & 10 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ version = "0.4.13"
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
Requires = "ae029012-a4dd-5104-9daa-d747884805df"

[weakdeps]
ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267"
Expand All @@ -16,23 +15,22 @@ ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267"
PreallocationToolsReverseDiffExt = "ReverseDiff"

[compat]
Adapt = "3, 4"
Adapt = "3.4, 4"
Aqua = "0.8"
ArrayInterface = "7"
ForwardDiff = "0.10.3"
LabelledArrays = "1"
ArrayInterface = "7.7"
ForwardDiff = "0.10.19"
LabelledArrays = "1.15"
LinearAlgebra = "1"
Optimization = "3"
OptimizationOptimJL = "0.1"
Optimization = "3.19"
OptimizationOptimJL = "0.1.5"
OrdinaryDiffEq = "6.65"
Pkg = "1"
Random = "1"
RecursiveArrayTools = "2, 3"
Requires = "1.0"
RecursiveArrayTools = "3.1"
ReverseDiff = "1"
SafeTestsets = "0.1"
SparseArrays = "1"
Symbolics = "5"
Symbolics = "5.12"
Test = "1"
julia = "1.9"

Expand Down
9 changes: 0 additions & 9 deletions src/PreallocationTools.jl
Original file line number Diff line number Diff line change
Expand Up @@ -209,13 +209,4 @@ end
export GeneralLazyBufferCache, FixedSizeDiffCache, DiffCache, LazyBufferCache, dualcache
export get_tmp

import Requires
@static if !isdefined(Base, :get_extension)
function __init__()
Requires.@require ReverseDiff="37e2e3b7-166d-5795-8a7a-e32c996b4267" begin
include("../ext/PreallocationToolsReverseDiffExt.jl")
end
end
end

end
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if GROUP == "All" || GROUP == "Core"
end
end

if !is_APPVEYOR && GROUP == "GPU"
if GROUP == "GPU"
activate_downstream_env()
@safetestset "GPU tests" begin
include("gpu_all.jl")
Expand Down

0 comments on commit 96b7477

Please sign in to comment.