-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add automated code quality testing (#18)
* add automated code quality testing * format
- Loading branch information
1 parent
3d34ef4
commit f2e2d6f
Showing
4 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
[deps] | ||
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" | ||
ExplicitImports = "7d51a73a-1435-4ff3-83d9-f097790105c7" | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
|
||
[compat] | ||
Aqua = "0.7, 0.8" | ||
ExplicitImports = "1.0.1" | ||
Test = "1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
include("test_util.jl") | ||
|
||
@testset verbose=true "TrixiBase.jl Tests" begin | ||
include("test_aqua.jl") | ||
include("trixi_include.jl") | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
using Aqua: Aqua | ||
using ExplicitImports: check_no_implicit_imports, check_no_stale_explicit_imports | ||
|
||
@testset "Aqua.jl" begin | ||
Aqua.test_all(TrixiBase) | ||
@test isnothing(check_no_implicit_imports(TrixiBase)) | ||
@test isnothing(check_no_stale_explicit_imports(TrixiBase)) | ||
end |