diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f0b9d1a..bfa0d6a 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -45,6 +45,8 @@ jobs: - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 continue-on-error: ${{ matrix.version == 'nightly' }} + env: + SKIP_AQUA_JET: ${{ matrix.version != '1' && 'true' || '' }} - uses: julia-actions/julia-processcoverage@v1 - uses: codecov/codecov-action@v3 docs: diff --git a/.gitignore b/.gitignore index 26f009b..10d258d 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,8 @@ docs/build/ *.jld2 *.pdf example/chern/*_results*/ + +# Test and build logs +*.log +docs/*build*.log +doc_build.log diff --git a/Project.toml b/Project.toml index 5f3df91..9cb7fa7 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "T4AQuanticsTCI" uuid = "ef09ec98-57a2-49a0-bf0b-86b55a3d9051" -authors = ["Ritter.Marc , Hiroshi Shinaoka and contributors"] version = "0.9.1" +authors = ["Ritter.Marc , Hiroshi Shinaoka and contributors"] [deps] BitIntegers = "c3b6d118-76ef-56ca-8cc7-ebb389d030a1" @@ -11,16 +11,18 @@ T4ATensorCI = "14428447-6903-48c7-83df-f2cb08af9918" [compat] BitIntegers = "0.3.5" +Glob = "1.4.0" QuanticsGrids = "0.3, 0.6" -T4ATensorCI = "0.10, 0.11" +T4ATensorCI = "0.12" julia = "1.10" [extras] Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" Glob = "c27321d9-0574-5035-807b-f59d2c89b15c" JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [targets] -test = ["Test", "Random", "Aqua", "JET", "Glob"] +test = ["Test", "Random", "Glob", "Pkg"] diff --git a/docs/Project.toml b/docs/Project.toml index dfbc83b..fc5612c 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -3,5 +3,8 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" T4AQuanticsTCI = "ef09ec98-57a2-49a0-bf0b-86b55a3d9051" +[sources] +T4AQuanticsTCI = {path = ".."} + [compat] Documenter = "1" diff --git a/test/runtests.jl b/test/runtests.jl index 6029652..2b842f7 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -2,8 +2,15 @@ using T4AQuanticsTCI using Test using LinearAlgebra -include("test_with_aqua.jl") -include("test_with_jet.jl") +# Run Aqua and JET tests when not explicitly skipped +if !haskey(ENV, "SKIP_AQUA_JET") + using Pkg + Pkg.add("Aqua") + Pkg.add("JET") + include("test_with_aqua.jl") + include("test_with_jet.jl") +end + include("test_tciinterface.jl") include("test_fouriertransform.jl") include("test_samplescripts.jl") diff --git a/test/test_with_aqua.jl b/test/test_with_aqua.jl index d77ceab..05055d3 100644 --- a/test/test_with_aqua.jl +++ b/test/test_with_aqua.jl @@ -2,5 +2,5 @@ using Aqua import T4AQuanticsTCI @testset "Aqua" begin - Aqua.test_all(T4AQuanticsTCI; ambiguities = false, unbound_args = false, deps_compat = false) + Aqua.test_all(T4AQuanticsTCI; ambiguities = false, unbound_args = false, deps_compat = false, stale_deps = false) end diff --git a/test/test_with_jet.jl b/test/test_with_jet.jl index 45710f8..145f5f0 100644 --- a/test/test_with_jet.jl +++ b/test/test_with_jet.jl @@ -3,6 +3,6 @@ import T4AQuanticsTCI @testset "JET" begin if VERSION ≥ v"1.10" - JET.test_package(T4AQuanticsTCI; target_defined_modules=true) + JET.test_package(T4AQuanticsTCI; target_modules=(T4AQuanticsTCI,)) end end