File tree Expand file tree Collapse file tree 6 files changed +7
-26
lines changed
Expand file tree Collapse file tree 6 files changed +7
-26
lines changed Original file line number Diff line number Diff line change 4949 token : ${{ secrets.CODECOV_TOKEN }}
5050 fail_ci_if_error : false
5151 verbose : true
52- docs :
53- name : Documentation
54- runs-on : ubuntu-latest
55- steps :
56- - uses : actions/checkout@v2
57- - uses : julia-actions/setup-julia@v1
58- with :
59- version : ' 1'
60- - uses : julia-actions/julia-buildpkg@v1
61- - uses : julia-actions/julia-docdeploy@v1
62- env :
63- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
64- DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
65- - run : |
66- julia --project=docs -e '
67- using Documenter: DocMeta, doctest
68- using LearnTestAPI
69- DocMeta.setdocmeta!(LearnTestAPI, :DocTestSetup, :(using LearnTestAPI); recursive=true)
70- doctest(LearnTestAPI)'
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ UnPack = "3a884ed6-31ef-47d7-9d2a-63182c4928ed"
2525Distributions = " 0.25"
2626InteractiveUtils = " <0.0.1, 1"
2727IsURL = " 0.2.0"
28- LearnAPI = " 0.1 .0"
28+ LearnAPI = " 0.2 .0"
2929LinearAlgebra = " <0.0.1, 1"
3030MLUtils = " 0.4"
3131Random = " <0.0.1, 1"
Original file line number Diff line number Diff line change @@ -5,6 +5,6 @@ Tool for testing implementations of the
55machine learning and statistics
66
77[ ![ Build Status] ( https://github.com/JuliaAI/LearnTestAPI.jl/workflows/CI/badge.svg )] ( https://github.com/JuliaAI/LearnTestAPI.jl/actions )
8- [ ![ codecov] ( https://codecov.io/gh/JuliaAI/LearnTestAPI.jl/graph/badge.svg?token=9IWT9KYINZ )]
8+ [ ![ codecov] ( https://codecov.io/gh/JuliaAI/LearnTestAPI.jl/graph/badge.svg?token=gCIQfDtzMt )] ( https://codecov.io/gh/JuliaAI/LearnTestAPI.jl )
99
10- See [ LearnAPI.jl] ( https://juliaai.github.io/LearnAPI.jl/stable/ ) for documentation.
10+ See [ LearnAPI.jl] ( https://juliaai.github.io/LearnAPI.jl/stable/ ) for documentation.
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ const FUNCTIONS3 = """
4343 """
4444const FUNCTIONS4 = """
4545
46- Testing that `LearnAPI.functions(learner)` exludes `:(LearnAPI.features)`, as
46+ Testing that `LearnAPI.functions(learner)` excludes `:(LearnAPI.features)`, as
4747 `LearnAPI.is_static(learner)` is `true`.
4848
4949 """
@@ -410,7 +410,7 @@ const FIT_SCITYPE = """
410410 """
411411const TARGET_OBSERVATION_SCITYPE = """
412412
413- Checking that `LearnAPI.target(learner, observatoins)` satisifies the constraints
413+ Checking that `LearnAPI.target(learner, observatoins)` satisfies the constraints
414414 articulated by `LearnAPI.target_observation_scitype(learner)`.
415415
416416"""
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ contracts against one or more data sets.
88using LearnTestAPI
99
1010X = (
11- feautre1 = [1, 2, 3],
11+ feature1 = [1, 2, 3],
1212 feature2 = ["a", "b", "c"],
1313 feature3 = [10.0, 20.0, 30.0],
1414)
Original file line number Diff line number Diff line change 137137
138138*Private method.*
139139
140- Replaces the expresion `lhs == rhs` with `isnear(lhs, rhs; kwargs...)` for testing a weaker
140+ Replaces the expression `lhs == rhs` with `isnear(lhs, rhs; kwargs...)` for testing a weaker
141141form of equality. Here `kwargs...` are keyword arguments accepted in `isapprox(lhs, rhs;
142142kwargs...)`, which is called if `lhs == rhs` fails.
143143
You can’t perform that action at this time.
0 commit comments