Skip to content

Commit

Permalink
Merge bacc546 into cf311bd
Browse files Browse the repository at this point in the history
  • Loading branch information
simsurace authored Feb 13, 2024
2 parents cf311bd + bacc546 commit 8474867
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 13 deletions.
61 changes: 61 additions & 0 deletions .github/workflows/Downgrade-CI.yml
Original file line number Diff line number Diff line change
@@ -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
16 changes: 8 additions & 8 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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"
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions examples/2-deep-kernel-learning/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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"
4 changes: 2 additions & 2 deletions test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8474867

Please sign in to comment.