Skip to content

Commit

Permalink
Aqua CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnoStrouwen committed Dec 12, 2023
1 parent 25bd21f commit 1ed376b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@ SHA = "ea8e919c-243c-51af-8825-aaa63cd721ce"
Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b"

[compat]
Aqua = "0.8"
BenchmarkTools = "1"
ExprTools = "0.1"
SHA = "0.7"
Serialization = "1"
Test = "1"
julia = "1.9"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["BenchmarkTools", "Test"]
test = ["Aqua", "BenchmarkTools", "Test"]
11 changes: 11 additions & 0 deletions test/qa.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
using RuntimeGeneratedFunctions, Aqua
@testset "Aqua" begin
Aqua.find_persistent_tasks_deps(RuntimeGeneratedFunctions)
Aqua.test_ambiguities(RuntimeGeneratedFunctions, recursive = false)
Aqua.test_deps_compat(RuntimeGeneratedFunctions)
Aqua.test_piracies(RuntimeGeneratedFunctions)
Aqua.test_project_extras(RuntimeGeneratedFunctions)
Aqua.test_stale_deps(RuntimeGeneratedFunctions)
Aqua.test_unbound_args(RuntimeGeneratedFunctions)
Aqua.test_undefined_exports(RuntimeGeneratedFunctions)
end
2 changes: 2 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ using RuntimeGeneratedFunctions, BenchmarkTools
using Serialization
using Test

include("qa.jl")

RuntimeGeneratedFunctions.init(@__MODULE__)

function f(_du, _u, _p, _t)
Expand Down

0 comments on commit 1ed376b

Please sign in to comment.