Skip to content

Commit 4e5af74

Browse files
committed
setup Manifest for julia 1.11
1 parent 4dff680 commit 4e5af74

File tree

5 files changed

+19
-9
lines changed

5 files changed

+19
-9
lines changed

.github/workflows/CI.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
version:
2020
- '1'
2121
- '1.6'
22-
#- '^1.7.0-0'
2322
os:
2423
- ubuntu-latest
2524
arch:

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
*.jl.*.cov
22
*.jl.cov
33
*.jl.mem
4-
/Manifest.toml
4+
/Manifest*.toml
55
/docs/build/
66
/tmp
7-
docs/Manifest.toml
8-
test/Manifest.toml
7+
docs/Manifest*.toml
8+
test/Manifest*.toml

Project.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,5 @@ Tables = "1.6.0"
4141
TimeZones = "1.6.1"
4242
julia = "1.6"
4343

44-
[extras]
45-
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
46-
47-
[targets]
48-
test = ["Test"]
44+
[workspace]
45+
projects = ["test", "docs"]

test/runtests.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ const GROUP = get(ENV, "GROUP", "All") # defined in in CI.yml
2929
@time @safetestset "surface_conductance Tests" include("surface_conductance_test.jl")
3030
#@safetestset "Tests" include("test/evapotranspiration_test.jl")
3131
@time @safetestset "evapotranspiration Tests" include("evapotranspiration_test.jl")
32+
#@safetestset "Tests" include("test/undoc_test.jl")
33+
@time @safetestset "undocumented objects" include("undoc_test.jl")
3234
end
3335
end
3436

test/undoc_test.jl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
using Bigleaf
2+
using Test
3+
4+
@testset "Docstrings" begin
5+
if VERSION >= v"1.11"
6+
@test_broken isempty(Docs.undocumented_names(Bigleaf))
7+
end
8+
#undoc = Docs.undocumented_names(Bigleaf)
9+
#@test_broken undoc == []
10+
#@test undoc = [:bar, :baz]
11+
#@test undoc = []
12+
end

0 commit comments

Comments
 (0)