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
5 changes: 4 additions & 1 deletion lib/RecursiveArrayToolsArrayPartitionAnyAll/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@ RecursiveArrayTools = "731186ca-8d62-57ce-b412-fbd966d074cd"
RecursiveArrayTools = {path = "../.."}

[compat]
Pkg = "1"
RecursiveArrayTools = "4"
Test = "1"
julia = "1.10"

[extras]
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test"]
test = ["Pkg", "Test"]
15 changes: 15 additions & 0 deletions lib/RecursiveArrayToolsArrayPartitionAnyAll/test/qa/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
RecursiveArrayToolsArrayPartitionAnyAll = "172d604e-c495-4f00-97bf-d70957099afa"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[sources]
RecursiveArrayToolsArrayPartitionAnyAll = {path = "../.."}

[compat]
Aqua = "0.8"
JET = "0.9, 0.10, 0.11"
RecursiveArrayToolsArrayPartitionAnyAll = "1"
Test = "1"
julia = "1.10"
10 changes: 10 additions & 0 deletions lib/RecursiveArrayToolsArrayPartitionAnyAll/test/qa/qa.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using RecursiveArrayToolsArrayPartitionAnyAll, Aqua, JET, Test

@testset "QA" begin
@testset "Aqua" begin
Aqua.test_all(RecursiveArrayToolsArrayPartitionAnyAll)
end
@testset "JET" begin
JET.test_package(RecursiveArrayToolsArrayPartitionAnyAll; target_defined_modules = true)
end
end
21 changes: 21 additions & 0 deletions lib/RecursiveArrayToolsArrayPartitionAnyAll/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,28 @@
using RecursiveArrayTools, RecursiveArrayToolsArrayPartitionAnyAll, Test
using Pkg

const TEST_GROUP = get(ENV, "RECURSIVEARRAYTOOLS_TEST_GROUP", "Core")

function activate_qa_env()
Pkg.activate(joinpath(@__DIR__, "qa"))
# On Julia < 1.11, the [sources] section in the qa Project.toml is not
# honored, so Pkg.develop the local paths explicitly.
if VERSION < v"1.11.0-DEV.0"
Pkg.develop(
[
PackageSpec(path = dirname(@__DIR__)),
PackageSpec(path = normpath(joinpath(dirname(@__DIR__), "..", ".."))),
]
)
end
return Pkg.instantiate()
end

if TEST_GROUP == "QA"
activate_qa_env()
include("qa/qa.jl")
end

if TEST_GROUP == "Core" || TEST_GROUP == "All"
@testset "Optimized any" begin
ap = ArrayPartition(collect(1:5), collect(6:10), collect(11:15))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[Core]
versions = ["lts", "1", "pre"]

[QA]
versions = ["lts", "1"]
6 changes: 5 additions & 1 deletion lib/RecursiveArrayToolsRaggedArrays/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,19 @@ RecursiveArrayTools = {path = "../.."}
Adapt = "4"
ArrayInterface = "7.17.0"
LinearAlgebra = "1.10"
Pkg = "1"
RecursiveArrayTools = "4"
SparseArrays = "1.10"
StaticArraysCore = "1.4.2"
SymbolicIndexingInterface = "0.3.42"
Test = "1"
julia = "1.10"

[extras]
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["SparseArrays", "SymbolicIndexingInterface", "Test"]
test = ["Pkg", "SparseArrays", "SymbolicIndexingInterface", "Test"]
15 changes: 15 additions & 0 deletions lib/RecursiveArrayToolsRaggedArrays/test/qa/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
RecursiveArrayToolsRaggedArrays = "c384ba91-639a-44ca-823a-e1d3691ab84a"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[sources]
RecursiveArrayToolsRaggedArrays = {path = "../.."}

[compat]
Aqua = "0.8"
JET = "0.9, 0.10, 0.11"
RecursiveArrayToolsRaggedArrays = "1"
Test = "1"
julia = "1.10"
10 changes: 10 additions & 0 deletions lib/RecursiveArrayToolsRaggedArrays/test/qa/qa.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using RecursiveArrayToolsRaggedArrays, Aqua, JET, Test

@testset "QA" begin
@testset "Aqua" begin
Aqua.test_all(RecursiveArrayToolsRaggedArrays)
end
@testset "JET" begin
JET.test_package(RecursiveArrayToolsRaggedArrays; target_defined_modules = true)
end
end
21 changes: 21 additions & 0 deletions lib/RecursiveArrayToolsRaggedArrays/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,30 @@ using RecursiveArrayToolsRaggedArrays: RaggedEnd, RaggedRange
using SymbolicIndexingInterface
using SymbolicIndexingInterface: SymbolCache
using Test
using Pkg

const TEST_GROUP = get(ENV, "RECURSIVEARRAYTOOLS_TEST_GROUP", "Core")

function activate_qa_env()
Pkg.activate(joinpath(@__DIR__, "qa"))
# On Julia < 1.11, the [sources] section in the qa Project.toml is not
# honored, so Pkg.develop the local paths explicitly.
if VERSION < v"1.11.0-DEV.0"
Pkg.develop(
[
PackageSpec(path = dirname(@__DIR__)),
PackageSpec(path = normpath(joinpath(dirname(@__DIR__), "..", ".."))),
]
)
end
return Pkg.instantiate()
end

if TEST_GROUP == "QA"
activate_qa_env()
include("qa/qa.jl")
end

if TEST_GROUP == "Core" || TEST_GROUP == "All"
@testset "RecursiveArrayToolsRaggedArrays" begin
# ===================================================================
Expand Down
3 changes: 3 additions & 0 deletions lib/RecursiveArrayToolsRaggedArrays/test/test_groups.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[Core]
versions = ["lts", "1", "pre"]

[QA]
versions = ["lts", "1"]
5 changes: 4 additions & 1 deletion lib/RecursiveArrayToolsShorthandConstructors/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@ RecursiveArrayTools = "731186ca-8d62-57ce-b412-fbd966d074cd"
RecursiveArrayTools = {path = "../.."}

[compat]
Pkg = "1"
RecursiveArrayTools = "4"
Test = "1"
julia = "1.10"

[extras]
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test"]
test = ["Pkg", "Test"]
15 changes: 15 additions & 0 deletions lib/RecursiveArrayToolsShorthandConstructors/test/qa/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
RecursiveArrayToolsShorthandConstructors = "39fb7555-b4ad-4efd-8abe-30331df017d3"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[sources]
RecursiveArrayToolsShorthandConstructors = {path = "../.."}

[compat]
Aqua = "0.8"
JET = "0.9, 0.10, 0.11"
RecursiveArrayToolsShorthandConstructors = "1"
Test = "1"
julia = "1.10"
10 changes: 10 additions & 0 deletions lib/RecursiveArrayToolsShorthandConstructors/test/qa/qa.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using RecursiveArrayToolsShorthandConstructors, Aqua, JET, Test

@testset "QA" begin
@testset "Aqua" begin
Aqua.test_all(RecursiveArrayToolsShorthandConstructors)
end
@testset "JET" begin
JET.test_package(RecursiveArrayToolsShorthandConstructors; target_defined_modules = true)
end
end
21 changes: 21 additions & 0 deletions lib/RecursiveArrayToolsShorthandConstructors/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,28 @@
using RecursiveArrayTools, RecursiveArrayToolsShorthandConstructors, Test
using Pkg

const TEST_GROUP = get(ENV, "RECURSIVEARRAYTOOLS_TEST_GROUP", "Core")

function activate_qa_env()
Pkg.activate(joinpath(@__DIR__, "qa"))
# On Julia < 1.11, the [sources] section in the qa Project.toml is not
# honored, so Pkg.develop the local paths explicitly.
if VERSION < v"1.11.0-DEV.0"
Pkg.develop(
[
PackageSpec(path = dirname(@__DIR__)),
PackageSpec(path = normpath(joinpath(dirname(@__DIR__), "..", ".."))),
]
)
end
return Pkg.instantiate()
end

if TEST_GROUP == "QA"
activate_qa_env()
include("qa/qa.jl")
end

if TEST_GROUP == "Core" || TEST_GROUP == "All"
@testset "VA[...] shorthand" begin
recs = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[Core]
versions = ["lts", "1", "pre"]

[QA]
versions = ["lts", "1"]
Loading