Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/" # Location of package manifests
directory: "/"
schedule:
interval: "weekly"
interval: "daily"
- package-ecosystem: "julia"
directory: "/"
schedule:
interval: "daily"
44 changes: 0 additions & 44 deletions .github/workflows/CompatHelper.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
os:
- ubuntu-latest
- windows-latest
- macOS-13 # intel
- macOS-latest # arm
arch:
- x64
Expand All @@ -31,8 +30,6 @@ jobs:
arch: aarch64
- os: windows-latest
arch: aarch64
- os: macOS-13
arch: aarch64
- os: macOS-latest
arch: x64
steps:
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Triangulate"
uuid = "f7e6ffb2-c36d-4f8f-a77e-16e897189344"
authors = ["Juergen Fuhrmann <juergen.fuhrmann@wias-berlin.de>"]
version = "3.0.0"
version = "3.0.1"

[deps]
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Triangulate
[![](https://img.shields.io/badge/docs-stable-blue.svg)](https://juliageometry.github.io/Triangulate.jl/stable)
[![PkgEval](https://juliaci.github.io/NanosoldierReports/pkgeval_badges/T/Triangulate.svg)](https://juliaci.github.io/NanosoldierReports/pkgeval_badges/report.html)
[![code style: runic](https://img.shields.io/badge/code_style-%E1%9A%B1%E1%9A%A2%E1%9A%BE%E1%9B%81%E1%9A%B2-black)](https://github.com/fredrikekre/Runic.jl)
[![Aqua QA](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl)

Julia wrapper for Jonathan Richard Shewchuk's Triangle mesh generator. The package tries to provide a 1:1 mapping of Triangle's functionality to Julia.

Expand Down
10 changes: 4 additions & 6 deletions docs/src/index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
````@eval
using Markdown
Markdown.parse("""
$(read("../../README.md",String))
""")
````
```@docs
Triangulate
```

## Copyright information

This is the copyright information of the original Triangle code.
Expand Down
7 changes: 5 additions & 2 deletions src/Triangulate.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
"""
$(README)
"""
module Triangulate
using DocStringExtensions
using Triangle_jll
using DocStringExtensions: DocStringExtensions, TYPEDEF, TYPEDFIELDS, TYPEDSIGNATURES, README
using Triangle_jll: Triangle_jll, libtriangle

include("ctriangulateio.jl")
include("triangulateio.jl")
Expand Down
7 changes: 7 additions & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
ExplicitImports = "7d51a73a-1435-4ff3-83d9-f097790105c7"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
Aqua = "0.8"
ExplicitImports = "1.14"
julia = "1.9"
27 changes: 26 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using Test
using Triangulate
using ExplicitImports, Aqua

modname(fname) = splitext(basename(fname))[1]

Expand Down Expand Up @@ -30,6 +32,29 @@ function run_tests_from_directory(testdir, prefix)
end
end

@time begin
@testset "functionality" begin
run_tests_from_directory(@__DIR__, "test_")
end


@testset "ExplicitImports" begin
@test ExplicitImports.check_no_implicit_imports(Triangulate, skip = (Base, Core)) === nothing
@test ExplicitImports.check_all_explicit_imports_via_owners(Triangulate) === nothing
@static if VERSION >= v"1.11.0"
@test ExplicitImports.check_all_explicit_imports_are_public(Triangulate) === nothing
@test ExplicitImports.check_all_qualified_accesses_are_public(Triangulate) === nothing
end
@test ExplicitImports.check_no_stale_explicit_imports(Triangulate, ignore = (:README,)) === nothing
@test ExplicitImports.check_all_qualified_accesses_via_owners(Triangulate) === nothing
@test ExplicitImports.check_no_self_qualified_accesses(Triangulate) === nothing
end

@testset "Aqua" begin
Aqua.test_all(Triangulate)
end

if isdefined(Docs, :undocumented_names)
@testset "UndocumentedNames" begin
@test isempty(Docs.undocumented_names(Triangulate))
end
end
Loading