Skip to content

Commit

Permalink
printing
Browse files Browse the repository at this point in the history
  • Loading branch information
pogudingleb committed Jan 31, 2024
1 parent 0237dbd commit 7479ec4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 36 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/Documentation.yml

This file was deleted.

14 changes: 6 additions & 8 deletions test/qa.jl
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
using StructuralIdentifiability, Aqua
using TOML
import Aqua

function Aqua.find_persistent_tasks_deps(a::Int, package::PkgId; kwargs...)
root_project_path, found = root_project_toml(package)
function Aqua.find_persistent_tasks_deps(a::Int, package::Base.PkgId; kwargs...)
root_project_path, found = Aqua.root_project_toml(package)
found || error("Unable to locate Project.toml")
prj = TOML.parsefile(root_project_path)
deps = get(prj, "deps", Dict{String,Any}())
filter!(deps) do (name, uuid)
id = PkgId(UUID(uuid), name)
id = Base.PkgId(Base.UUID(uuid), name)
println("Checking $name")
return has_persistent_tasks(id; kwargs...)
return Aqua.has_persistent_tasks(id; kwargs...)
end
return [name for (name, _) in deps]
end




@testset "Aqua" begin
Aqua.find_persistent_tasks_deps(42, StructuralIdentifiability)
Aqua.find_persistent_tasks_deps(42, Base.PkgId(StructuralIdentifiability))
Aqua.test_ambiguities(StructuralIdentifiability, recursive = false)
Aqua.test_deps_compat(StructuralIdentifiability)
Aqua.test_piracies(StructuralIdentifiability, treat_as_own = [])
Expand Down

0 comments on commit 7479ec4

Please sign in to comment.