diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml deleted file mode 100644 index adc1628e..00000000 --- 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 fd80cb3b..da25b1d3 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 = [])