Skip to content

Commit

Permalink
removing other actions and printing package names
Browse files Browse the repository at this point in the history
  • Loading branch information
pogudingleb committed Jan 31, 2024
1 parent f42f48c commit 0237dbd
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 126 deletions.
43 changes: 0 additions & 43 deletions .github/workflows/CI.yml

This file was deleted.

42 changes: 0 additions & 42 deletions .github/workflows/FormatCheck.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/Invalidations.yml

This file was deleted.

20 changes: 19 additions & 1 deletion test/qa.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
using StructuralIdentifiability, Aqua
import Aqua

function Aqua.find_persistent_tasks_deps(a::Int, package::PkgId; kwargs...)
root_project_path, found = 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)
println("Checking $name")
return has_persistent_tasks(id; kwargs...)
end
return [name for (name, _) in deps]
end




@testset "Aqua" begin
Aqua.find_persistent_tasks_deps(StructuralIdentifiability)
Aqua.find_persistent_tasks_deps(42, 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 0237dbd

Please sign in to comment.