From 7479ec477da0f550fa89adc675095a82f7bb2376 Mon Sep 17 00:00:00 2001 From: pogudingleb Date: Wed, 31 Jan 2024 15:58:01 +0100 Subject: [PATCH] printing --- .github/workflows/Documentation.yml | 28 ---------------------------- test/qa.jl | 14 ++++++-------- 2 files changed, 6 insertions(+), 36 deletions(-) delete mode 100644 .github/workflows/Documentation.yml diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml deleted file mode 100644 index adc1628ef..000000000 --- a/.github/workflows/Documentation.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Documentation - -on: - push: - branches: - - master - tags: '*' - pull_request: - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@latest - with: - version: '1' - - name: Install dependencies - run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' - - name: Build and deploy - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token - DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key - run: julia --project=docs/ --code-coverage=user docs/make.jl - - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v3 - with: - file: lcov.info diff --git a/test/qa.jl b/test/qa.jl index fd80cb3b9..da25b1d3d 100644 --- a/test/qa.jl +++ b/test/qa.jl @@ -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 = [])