Skip to content

Commit 1569786

Browse files
committed
Update package compatibility for ExtendableSparse
Add CompatHelper.yml to workflows this will warn about breaking changes in package dependencies and automatically create pull requests
1 parent 4651400 commit 1569786

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

.github/workflows/CompatHelper.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CompatHelper
2+
on:
3+
schedule:
4+
- cron: 0 0 * * *
5+
workflow_dispatch:
6+
jobs:
7+
CompatHelper:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: "Add the General registry via Git"
11+
run: |
12+
import Pkg
13+
ENV["JULIA_PKG_SERVER"] = ""
14+
Pkg.Registry.add("General")
15+
shell: julia --color=yes {0}
16+
- name: "Install CompatHelper"
17+
run: |
18+
import Pkg
19+
name = "CompatHelper"
20+
uuid = "aa819f21-2bde-4658-8897-bab36330d9b7"
21+
version = "3"
22+
Pkg.add(; name, uuid, version)
23+
shell: julia --color=yes {0}
24+
- name: "Run CompatHelper"
25+
run: |
26+
import CompatHelper
27+
CompatHelper.main()
28+
shell: julia --color=yes {0}
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
32+
# COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }}

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2222

2323
[compat]
2424
DiffResults = "^1.0.0"
25-
DocStringExtensions = "^0.8"
25+
DocStringExtensions = "^0.8,0.9"
2626
ExtendableGrids = "^0.9.12"
2727
Symbolics = "^4.6"
28-
ExtendableSparse = "0.6.6"
28+
ExtendableSparse = "0.6.6,0.7,0.8,0.9"
2929
ForwardDiff = "^0.10"
3030
GridVisualize = "^0.5"
3131
SparseDiffTools = "^1.19"

0 commit comments

Comments
 (0)