Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests using Aqua.jl #139

Merged
merged 3 commits into from
Jun 17, 2022
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
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "SummationByPartsOperators"
uuid = "9f78cca6-572e-554e-b819-917d2f1cf240"
author = ["Hendrik Ranocha"]
version = "0.5.17"
version = "0.5.18"

[deps]
ArgCheck = "dce04be8-c92d-5529-be00-80e4d2c0e197"
Expand Down
2 changes: 1 addition & 1 deletion src/SummationByPartsOperators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export integrate, left_boundary_weight, right_boundary_weight,
compute_coefficients, compute_coefficients!
export periodic_central_derivative_operator, periodic_derivative_operator, derivative_operator,
dissipation_operator, var_coef_derivative_operator,
fourier_derivative_operator, spectral_viscosity_operator, super_spectral_viscosity_operator,
fourier_derivative_operator,
legendre_derivative_operator, legendre_second_derivative_operator
export UniformMesh1D, UniformPeriodicMesh1D
export couple_continuously, couple_discontinuously
Expand Down
2 changes: 2 additions & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
BandedMatrices = "aae01518-5342-5314-be14-df237901396f"
DiffEqCallbacks = "459566f4-90b8-5000-8ac3-15dfb0a30def"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Expand All @@ -10,6 +11,7 @@ StructArrays = "09ab397b-f2b6-538f-b94a-2f83cf4a842a"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
Aqua = "0.5"
BandedMatrices = "0.15, 0.16, 0.17"
DiffEqCallbacks = "2"
OrdinaryDiffEq = "5, 6"
Expand Down
7 changes: 7 additions & 0 deletions test/aqua.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
using Aqua
using SummationByPartsOperators

Aqua.test_all(SummationByPartsOperators;
ambiguities=false, # a lot of false positives from dependencies
unbound_args=false # TODO: a strange problem I do not understand right now
)
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const SBP_TEST = get(ENV, "SBP_TEST", "all")
@time @testset "Sum of Operators" begin include("sum_of_operators_test.jl") end
@time @testset "Upwind Operators" begin include("upwind_operators_test.jl") end
@time @testset "Special Matrix Types" begin include("special_matrix_types.jl") end
@time @testset "Aqua" begin include("aqua.jl") end
end

@time if SBP_TEST == "all" || SBP_TEST == "part2"
Expand Down