Skip to content

Commit

Permalink
Downgrade CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnoStrouwen committed Dec 28, 2023
1 parent e19951e commit 8c3659c
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 12 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/Downgrade.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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']
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
22 changes: 11 additions & 11 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,24 @@ Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

[compat]
Aqua = "0.8"
Cubature = "1"
Distributions = "0.21, 0.22, 0.23, 0.24, 0.25"
Cubature = "1.5"
Distributions = "0.25.71"
ExtendableSparse = "1"
Flux = "0.12, 0.13"
ForwardDiff = "0.10"
GLM = "1.3"
Flux = "0.13"
ForwardDiff = "0.10.19"
GLM = "1.5"
IterativeSolvers = "0.9"
LinearAlgebra = "1.9"
PolyChaos = "0.2"
PolyChaos = "0.2.5"
Pkg = "1"
QuadGK = "2"
QuasiMonteCarlo = "0.3"
QuadGK = "2.4"
QuasiMonteCarlo = "0.3.1"
SafeTestsets = "0.1"
SparseArrays = "1.9"
Statistics = "1"
Statistics = "1.9"
Test = "1"
Tracker = "0.2"
Zygote = "0.4, 0.5, 0.6"
Tracker = "0.2.18"
Zygote = "0.6.36"
julia = "1.9"

[extras]
Expand Down
1 change: 0 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ using Surrogates
using Test
using SafeTestsets
using Pkg
VERSION <= v"1.7" && Pkg.add(name = "Statistics", version = VERSION)

function dev_subpkg(subpkg)
subpkg_path = joinpath(dirname(@__DIR__), "lib", subpkg)
Expand Down

0 comments on commit 8c3659c

Please sign in to comment.