Skip to content

Add benchmark + refer to Predicates directly #42

Add benchmark + refer to Predicates directly

Add benchmark + refer to Predicates directly #42

Triggered via pull request April 25, 2024 10:39
Status Failure
Total duration 8m 52s
Artifacts

CI.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 16 warnings
Documentation: src/methods/geom_relations/covers.jl#L54
doctest failure in ~/work/GeometryOps.jl/GeometryOps.jl/src/methods/geom_relations/covers.jl:54-62 ```jldoctest import GeometryOps as GO, GeoInterface as GI l1 = GI.LineString([(1, 1), (1, 2), (1, 3), (1, 4)]) l2 = GI.LineString([(1, 1), (1, 2)]) GO.covers(l1, l2) # output true ``` Subexpression: import GeometryOps as GO, GeoInterface as GI l1 = GI.LineString([(1, 1), (1, 2), (1, 3), (1, 4)]) l2 = GI.LineString([(1, 1), (1, 2)]) GO.covers(l1, l2) Evaluated output: ERROR: Invalid precision used for input (0, 1)::Tuple{Int64, Int64}. You can only use Float64 numbers in predicates. Stacktrace: [1] _coord(x::Tuple{Int64, Int64}) @ ExactPredicates.Codegen ~/.julia/packages/ExactPredicates/fhcrS/src/Codegen.jl:23 [2] isparallel(r::Tuple{Int64, Int64}, s::Tuple{Int64, Int64}) @ GeometryOps.Predicates ~/.julia/packages/ExactPredicates/fhcrS/src/Codegen.jl:432 [3] _intersection_point(::Type{Float64}, ::Tuple{Tuple{Int64, Int64}, Tuple{Int64, Int64}}, ::Tuple{Tuple{Int64, Int64}, Tuple{Int64, Int64}}) @ GeometryOps ~/work/GeometryOps.jl/GeometryOps.jl/src/methods/clipping/intersection.jl:264 [4] #_line_curve_process#168 @ ~/work/GeometryOps.jl/GeometryOps.jl/src/methods/geom_relations/geom_geom_processors.jl:140 [inlined] [5] _line_curve_process @ ~/work/GeometryOps.jl/GeometryOps.jl/src/methods/geom_relations/geom_geom_processors.jl:110 [inlined] [6] _coveredby @ ~/work/GeometryOps.jl/GeometryOps.jl/src/methods/geom_relations/coveredby.jl:134 [inlined] [7] coveredby @ ~/work/GeometryOps.jl/GeometryOps.jl/src/methods/geom_relations/coveredby.jl:79 [inlined] [8] covers(g1::GeoInterface.Wrappers.LineString{false, false, Vector{Tuple{Int64, Int64}}, Nothing, Nothing}, g2::GeoInterface.Wrappers.LineString{false, false, Vector{Tuple{Int64, Int64}}, Nothing, Nothing}) @ GeometryOps ~/work/GeometryOps.jl/GeometryOps.jl/src/methods/geom_relations/covers.jl:64 [9] top-level scope @ none:1 Expected output: true diff = Warning: Diff output requires color. trueERROR: Invalid precision used for input (0, 1)::Tuple{Int64, Int64}. You can only use Float64 numbers in predicates. Stacktrace: [1] _coord(x::Tuple{Int64, Int64}) @ ExactPredicates.Codegen ~/.julia/packages/ExactPredicates/fhcrS/src/Codegen.jl:23 [2] isparallel(r::Tuple{Int64, Int64}, s::Tuple{Int64, Int64}) @ GeometryOps.Predicates ~/.julia/packages/ExactPredicates/fhcrS/src/Codegen.jl:432 [3] _intersection_point(::Type{Float64}, ::Tuple{Tuple{Int64, Int64}, Tuple{Int64, Int64}}, ::Tuple{Tuple{Int64, Int64}, Tuple{Int64, Int64}}) @ GeometryOps ~/work/GeometryOps.jl/GeometryOps.jl/src/methods/clipping/intersection.jl:264 [4] #_line_curve_process#168 @ ~/work/GeometryOps.jl/GeometryOps.jl/src/methods/geom_relations/geom_geom_processors.jl:140 [inlined] [5] _line_curve_process @ ~/work/GeometryOps.jl/GeometryOps.jl/src/methods/geom_relations/geom_geom_processors.jl:110 [inlined] [6] _coveredby @ ~/work/GeometryOps.jl/GeometryOps.jl/src/methods/geom_relations/coveredby.jl:134 [inlined] [7] coveredby @ ~/work/GeometryOps.jl/GeometryOps.jl/src/methods/geom_relations/coveredby.jl:79 [inlined] [8] covers(g1::GeoInterface.Wrappers.LineString{false, false, Vector{Tuple{Int64, Int64}}, Nothing, Nothing}, g2::GeoInterface.Wrappers.LineString{false, false, Vector{Tuple{Int64, Int64}}, Nothing, Nothing}) @ GeometryOps ~/work/GeometryOps.jl/GeometryOps.jl/src/methods/geom_relations/covers.jl:64 [9] top-level scope @ none:1
Documentation
Process completed with exit code 1.
Julia 1.9 - ubuntu-latest - x64 - pull_request
Julia depot registries already exist. Skipping restoring of cached registries to avoid potential merge conflicts when updating. Please ensure that `julia-actions/cache` precedes any workflow steps which add registries.
Julia 1.9 - ubuntu-latest - x64 - pull_request
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3, julia-actions/setup-julia@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Julia 1.9 - ubuntu-latest - x64 - pull_request
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Julia 1 - ubuntu-latest - x64 - pull_request
Julia depot registries already exist. Skipping restoring of cached registries to avoid potential merge conflicts when updating. Please ensure that `julia-actions/cache` precedes any workflow steps which add registries.
Julia 1 - ubuntu-latest - x64 - pull_request
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3, julia-actions/setup-julia@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Julia 1 - ubuntu-latest - x64 - pull_request
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Documentation: ../../../.julia/packages/Documenter/pA5Sa/src/utilities/utilities.jl#L46
duplicate docs found for 'GeometryOps.reproject' in src/api.md:59-61 ```@autodocs Modules = [GeometryOps] ```
Documentation: ../../../.julia/packages/Documenter/pA5Sa/src/utilities/utilities.jl#L46
duplicate docs found for 'apply' in `@docs` block in src/source/primitives.md:41-48 ```@docs apply applyreduce GeometryOps.unwrap GeometryOps.flatten GeometryOps.reconstruct GeometryOps.rebuild ```
Documentation: ../../../.julia/packages/Documenter/pA5Sa/src/utilities/utilities.jl#L46
duplicate docs found for 'applyreduce' in `@docs` block in src/source/primitives.md:41-48 ```@docs apply applyreduce GeometryOps.unwrap GeometryOps.flatten GeometryOps.reconstruct GeometryOps.rebuild ```
Documentation: ../../../.julia/packages/Documenter/pA5Sa/src/utilities/utilities.jl#L46
duplicate docs found for 'GeometryOps.unwrap' in `@docs` block in src/source/primitives.md:41-48 ```@docs apply applyreduce GeometryOps.unwrap GeometryOps.flatten GeometryOps.reconstruct GeometryOps.rebuild ```
Documentation: ../../../.julia/packages/Documenter/pA5Sa/src/utilities/utilities.jl#L46
duplicate docs found for 'TraitTarget' in `@docs` block in src/source/primitives.md:8-10 ```@docs TraitTarget ```
Documentation: ../../../.julia/packages/Documenter/pA5Sa/src/utilities/utilities.jl#L46
duplicate docs found for 'LinearSegments' in `@docs` block in src/source/transformations/segmentize.md:57-60 ```@docs LinearSegments GeodesicSegments ```
Documentation: ../../../.julia/packages/Documenter/pA5Sa/src/utilities/utilities.jl#L46
duplicate docs found for 'GeodesicSegments' in `@docs` block in src/source/transformations/segmentize.md:57-60 ```@docs LinearSegments GeodesicSegments ```
Documentation: ../../../.julia/packages/DocumenterVitepress/AH5XK/src/writer.jl#L816
Unexpected Julia interpolation in the Markdown. This probably means that you have an unbalanced or un-escaped $ in the text. To write the dollar sign, escape it with `\$` We don't have the file or line number available, but we got given the value: `Target` which is of type `Symbol`
Documentation: ../../../.julia/packages/DocumenterVitepress/AH5XK/src/writer.jl#L816
Unexpected Julia interpolation in the Markdown. This probably means that you have an unbalanced or un-escaped $ in the text. To write the dollar sign, escape it with `\$` We don't have the file or line number available, but we got given the value: `target` which is of type `Symbol`
Documentation: ../../../.julia/packages/DocumenterVitepress/AH5XK/src/vitepress_config.jl#L34
DocumenterVitepress: Did not detect `docs/src/.vitepress/config.mts` file. Substituting in the default file.