Skip to content

Commit

Permalink
Merge pull request #8 from psrenergy/rs/aqua
Browse files Browse the repository at this point in the history
Fix Aqua.jl integration
  • Loading branch information
guilhermebodin authored Dec 8, 2023
2 parents c791c89 + 73a47cc commit f822c0c
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 31 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/aqua.yml

This file was deleted.

8 changes: 7 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,17 @@ LoggingExtras = "e6f89c97-d47a-5376-807f-9c37f3926c36"
TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76"

[compat]
Aqua = "0.8"
Dates = "1"
Logging = "1"
LoggingExtras = "1"
Test = "1"
TOML = "1"
julia = "1.7"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test"]
test = ["Aqua", "Test"]
25 changes: 18 additions & 7 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
import LoggingPolyglot

using Aqua
using Test

for file in readdir(@__DIR__)
if file in ["runtests.jl"]
continue
elseif !endswith(file, ".jl")
continue
function testall()
@testset "Aqua.jl" begin
Aqua.test_all(LoggingPolyglot)
end
@testset "$(file)" begin
include(file)

for file in readdir(@__DIR__)
if file in ["runtests.jl"]
continue
elseif !endswith(file, ".jl")
continue
end
@testset "$(file)" begin
include(file)
end
end
end

testall()

0 comments on commit f822c0c

Please sign in to comment.