diff --git a/.github/workflows/Downgrade.yml b/.github/workflows/Downgrade.yml new file mode 100644 index 00000000..01ff8cad --- /dev/null +++ b/.github/workflows/Downgrade.yml @@ -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 \ No newline at end of file diff --git a/Project.toml b/Project.toml index 0f082238..b97bfaa0 100644 --- a/Project.toml +++ b/Project.toml @@ -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] diff --git a/test/runtests.jl b/test/runtests.jl index 0c39dc03..5b1d127b 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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)