From 1569786f99e799d03c9ea480ce2fac63280df13d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Fuhrmann?= Date: Thu, 10 Nov 2022 16:24:02 +0100 Subject: [PATCH] Update package compatibility for ExtendableSparse Add CompatHelper.yml to workflows this will warn about breaking changes in package dependencies and automatically create pull requests --- .github/workflows/CompatHelper.yml | 32 ++++++++++++++++++++++++++++++ Project.toml | 4 ++-- 2 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/CompatHelper.yml diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml new file mode 100644 index 00000000..d94b38df --- /dev/null +++ b/.github/workflows/CompatHelper.yml @@ -0,0 +1,32 @@ +name: CompatHelper +on: + schedule: + - cron: 0 0 * * * + workflow_dispatch: +jobs: + CompatHelper: + runs-on: ubuntu-latest + steps: + - name: "Add the General registry via Git" + run: | + import Pkg + ENV["JULIA_PKG_SERVER"] = "" + Pkg.Registry.add("General") + shell: julia --color=yes {0} + - name: "Install CompatHelper" + run: | + import Pkg + name = "CompatHelper" + uuid = "aa819f21-2bde-4658-8897-bab36330d9b7" + version = "3" + Pkg.add(; name, uuid, version) + shell: julia --color=yes {0} + - name: "Run CompatHelper" + run: | + import CompatHelper + CompatHelper.main() + shell: julia --color=yes {0} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }} + # COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }} diff --git a/Project.toml b/Project.toml index aee12386..600a8d58 100644 --- a/Project.toml +++ b/Project.toml @@ -22,10 +22,10 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [compat] DiffResults = "^1.0.0" -DocStringExtensions = "^0.8" +DocStringExtensions = "^0.8,0.9" ExtendableGrids = "^0.9.12" Symbolics = "^4.6" -ExtendableSparse = "0.6.6" +ExtendableSparse = "0.6.6,0.7,0.8,0.9" ForwardDiff = "^0.10" GridVisualize = "^0.5" SparseDiffTools = "^1.19"