Skip to content

Commit 80c702f

Browse files
committed
Bump compatibility MLJModelInterface = "0.3.6,0.4"
1 parent 1ca653a commit 80c702f

File tree

3 files changed

+9
-22
lines changed

3 files changed

+9
-22
lines changed

.github/workflows/CompatHelper.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
11
name: CompatHelper
2-
32
on:
43
schedule:
54
- cron: '00 00 * * *'
6-
5+
workflow_dispatch:
76
jobs:
87
CompatHelper:
98
runs-on: ubuntu-latest
109
steps:
11-
- uses: julia-actions/setup-julia@latest
12-
with:
13-
version: 1.3
1410
- name: Pkg.add("CompatHelper")
1511
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
16-
- name: CompatHelper.main
12+
- name: CompatHelper.main()
1713
env:
1814
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19-
run: julia -e 'using CompatHelper; CompatHelper.main(; master_branch = "master")'
20-
15+
COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }} # optional
16+
run: julia -e 'using CompatHelper; CompatHelper.main()'

Project.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
name = "MLJClusteringInterface"
22
uuid = "d354fa79-ed1c-40d4-88ef-b8c7bd1568af"
33
authors = ["Anthony D. Blaom <[email protected]>", "Thibaut Lienart <[email protected]>", "Okon Samuel <[email protected]>"]
4-
version = "0.1.2"
4+
version = "0.1.3"
55

66
[deps]
77
Clustering = "aaaa29a8-35af-508c-8bc3-b662a17a0fe5"
88
Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7"
99
MLJModelInterface = "e80e1ace-859a-464e-9ed9-23947d8ae3ea"
1010

1111
[compat]
12-
Distances = "0.9, 0.10"
13-
MLJModelInterface = "0.3.6"
1412
Clustering = "0.14"
13+
Distances = "0.9, 0.10"
14+
MLJModelInterface = "0.3.6,0.4"
1515
julia = "1"
1616

1717
[extras]

test/runtests.jl

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,8 @@ X, y = @load_crabs
2828
p = predict(barekm, fitresult, X)
2929
@test argmin(R[1, :]) == p[1]
3030
@test argmin(R[10, :]) == p[10]
31-
32-
infos = info_dict(barekm)
33-
@test infos[:package_name] == "Clustering"
34-
@test infos[:is_pure_julia]
35-
@test infos[:package_license] == "MIT"
36-
@test infos[:input_scitype] == Table(Continuous)
37-
@test infos[:output_scitype] == Table(Continuous)
38-
infos[:docstring]
31+
32+
3933
end
4034

4135
####
@@ -55,7 +49,4 @@ end
5549
)
5650
p = predict(barekm, fitresult, X)
5751
@test all(report.assignments .== p)
58-
infos = info_dict(barekm)
59-
@test infos[:input_scitype] == Table(Continuous)
60-
@test infos[:output_scitype] == Table(Continuous)
6152
end

0 commit comments

Comments
 (0)