Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,8 @@ docs/build/
*.jld2
*.pdf
example/chern/*_results*/

# Test and build logs
*.log
docs/*build*.log
doc_build.log
8 changes: 5 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "T4AQuanticsTCI"
uuid = "ef09ec98-57a2-49a0-bf0b-86b55a3d9051"
authors = ["Ritter.Marc <[email protected]>, Hiroshi Shinaoka <[email protected]> and contributors"]
version = "0.9.1"
authors = ["Ritter.Marc <[email protected]>, Hiroshi Shinaoka <[email protected]> and contributors"]

[deps]
BitIntegers = "c3b6d118-76ef-56ca-8cc7-ebb389d030a1"
Expand All @@ -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"]
3 changes: 3 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
11 changes: 9 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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")
2 changes: 1 addition & 1 deletion test/test_with_aqua.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion test/test_with_jet.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading