diff --git a/.github/workflows/Downgrade-CI.yml b/.github/workflows/Downgrade-CI.yml new file mode 100644 index 00000000..9c4cdfac --- /dev/null +++ b/.github/workflows/Downgrade-CI.yml @@ -0,0 +1,61 @@ +name: Downgrade CI + +on: + push: + branches: + - master + pull_request: + +jobs: + generate-matrix: + if: contains(github.event.pull_request.labels.*.name, 'downgrade-ci') + runs-on: ubuntu-latest + outputs: + matrix: ${{ steps.genmat.outputs.matrix }} + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@latest + with: + version: '1' + arch: x64 + - run: julia -e 'import Pkg; Pkg.add("CompatHelperLocal")' + - run: julia -e 'import Pkg; Pkg.add(path=".")' + - if: ${{ always() }} + id: genmat + run: | + echo '::echo::on' + julia -e 'import CompatHelperLocal as CHL; import AbstractGPs; projfile = joinpath(pathof(AbstractGPs) |> dirname |> dirname, "Project.toml"); println(CHL.compats_combinations_to_gha_string(CHL.get_compats_combinations(projfile, only_resolveable=true)))' + test: + needs: generate-matrix + runs-on: ubuntu-latest + strategy: + matrix: ${{fromJSON(needs.generate-matrix.outputs.matrix)}} + fail-fast: false + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@latest + with: + version: '1' + arch: x64 + - run: julia -e 'import Pkg; Pkg.add("CompatHelperLocal")' + - run: julia -e 'import Pkg; Pkg.add(path=".")' + - run: julia -e 'import CompatHelperLocal as CHL; import AbstractGPs; CHL.test_compats_combinations(AbstractGPs, [${{ matrix.compats }}])' + test-simple: + if: contains(github.event.pull_request.labels.*.name, 'downgrade-ci') + runs-on: ubuntu-latest + strategy: + matrix: + version: + - '1' + arch: + - x64 + steps: + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v1 + with: + version: ${{ matrix.version }} + - uses: cjdoris/julia-downgrade-compat-action@v1 + with: + skip: Pkg,TOML,Statistics,Random,LinearAlgebra,Test + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 diff --git a/Project.toml b/Project.toml index edb35526..d26c9489 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "AbstractGPs" uuid = "99985d1d-32ba-4be9-9821-2ec096f28918" authors = ["JuliaGaussianProcesses Team"] -version = "0.5.19" +version = "0.5.20" [deps] ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" @@ -19,17 +19,17 @@ StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [compat] -ChainRulesCore = "1" -Distributions = "0.19, 0.20, 0.21, 0.22, 0.23, 0.24, 0.25" +ChainRulesCore = "1.16" +Distributions = "0.25.53" FillArrays = "0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 1" -IrrationalConstants = "0.1, 0.2" -KernelFunctions = "0.9, 0.10" +IrrationalConstants = "0.1.1, 0.2" +KernelFunctions = "0.10.39" LinearAlgebra = "1" PDMats = "0.11" Random = "1" -RecipesBase = "1" -Reexport = "0.2, 1" +RecipesBase = "1.3.1" +Reexport = "1" Statistics = "1" -StatsBase = "0.33, 0.34" +StatsBase = "0.33.19, 0.34" Test = "1" julia = "1.6" diff --git a/README.md b/README.md index b2637681..522a6804 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,6 @@ [![DOI](https://zenodo.org/badge/254674526.svg)](https://zenodo.org/badge/latestdoi/254674526) - AbstractGPs.jl is a package that defines a low-level API for working with Gaussian processes (GPs), and basic functionality for working with them in the simplest cases. As such it is aimed more at developers and researchers who are interested in using it as a building block than end-users of GPs. You may want to go through the main [API design documentation](https://juliagaussianprocesses.github.io/AbstractGPs.jl/stable/api/). ![GP](gp.gif) diff --git a/examples/2-deep-kernel-learning/Project.toml b/examples/2-deep-kernel-learning/Project.toml index 7ea6a335..79d9c794 100644 --- a/examples/2-deep-kernel-learning/Project.toml +++ b/examples/2-deep-kernel-learning/Project.toml @@ -5,7 +5,6 @@ Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c" KernelFunctions = "ec8451be-7e33-11e9-00cf-bbf324bd1392" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306" -MLDataUtils = "cc2ba9b6-d476-5e6d-8eaf-a92d5412d41d" Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" @@ -15,7 +14,6 @@ Distributions = "0.25" Flux = "0.12, 0.13, 0.14" KernelFunctions = "0.10" Literate = "2" -MLDataUtils = "0.5" Plots = "1" Zygote = "0.6" julia = "1.3" diff --git a/test/Project.toml b/test/Project.toml index 27e5552d..ed43f5ce 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -13,9 +13,9 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" [compat] -Distributions = "0.19, 0.20, 0.21, 0.22, 0.23, 0.24, 0.25" +Distributions = "0.25.53" Documenter = "1" -FillArrays = "0.11, 0.12, 0.13, 1" +FillArrays = "0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 1" FiniteDifferences = "0.9.6, 0.10, 0.11, 0.12" LinearAlgebra = "1" PDMats = "0.11"