Skip to content

Commit 8380ddb

Browse files
committed
small fixes
1 parent ba3b290 commit 8380ddb

3 files changed

Lines changed: 15 additions & 16 deletions

File tree

Project.toml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,33 +37,22 @@ projects = ["test"]
3737

3838
[compat]
3939
Adapt = "4"
40-
AllocCheck = "0.2.3"
41-
Aqua = "0.6, 0.7, 0.8"
42-
ArgParse = "1.2.0"
4340
CUDA = "5.9"
4441
ChainRulesCore = "1"
45-
ChainRulesTestUtils = "1"
46-
Combinatorics = "1"
4742
FiniteDifferences = "0.12"
48-
GPUArrays = "11.3.1"
49-
JET = "0.9, 0.10, 0.11"
5043
LRUCache = "1.0.2"
5144
LinearAlgebra = "1"
5245
MatrixAlgebraKit = "0.6.4"
5346
Mooncake = "0.5"
5447
OhMyThreads = "0.8.0"
5548
Printf = "1"
5649
Random = "1"
57-
SafeTestsets = "0.1"
5850
ScopedValues = "1.3.0"
5951
Strided = "2"
6052
TensorKitSectors = "0.3.5"
6153
TensorOperations = "5.1"
62-
Test = "1"
63-
TestExtras = "0.2,0.3"
6454
TupleTools = "1.5"
6555
VectorInterface = "0.4.8, 0.5"
66-
Zygote = "0.7"
6756
cuTENSOR = "2"
6857
julia = "1.10"
6958

test/Project.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name = "TensorKitTests"
22

33
[deps]
44
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
5-
AllocCheck = "9b6a8646-10ed-4001-bbdc-1d2f46dfbb1a"
65
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
76
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
87
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
@@ -21,12 +20,21 @@ TensorKitSectors = "13a9c161-d5da-41f0-bcbd-e1a08ae0647f"
2120
TensorOperations = "6aa20fa7-93e2-5fca-9bc0-fbd0db3c71a2"
2221
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2322
TestExtras = "5ed8adda-3752-4e41-b88a-e8b09835ee3a"
23+
TupleTools = "9d95972d-f1c8-5527-a6e0-b4b365fa01f6"
2424
VectorInterface = "409d34a3-91d5-4945-b6ec-7529ddf182d8"
2525
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
2626
cuTENSOR = "011b41b2-24ef-40a8-b3eb-fa098493e9e1"
2727

2828
[compat]
29+
Aqua = "0.6, 0.7, 0.8"
30+
ChainRulesTestUtils = "1"
31+
Combinatorics = "1"
32+
GPUArrays = "11.3.1"
33+
JET = "0.9, 0.10, 0.11"
2934
ParallelTestRunner = "2"
35+
Test = "1"
36+
TestExtras = "0.2,0.3"
37+
Zygote = "0.7"
3038

3139
[sources]
3240
TensorKit = {path = ".."}

test/runtests.jl

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,23 @@ delete!(testsuite, "braidingtensor") # not part of the testsuite (see file heade
99

1010
# CUDA tests: only run if CUDA is functional
1111
using CUDA: CUDA
12-
CUDA.functional() || filter!(k -> !startswith(k, "cuda"), testsuite)
12+
CUDA.functional() || filter!(!startswith("cuda") first, testsuite)
1313

1414
# On Buildkite (GPU CI runner): only run CUDA tests
15-
get(ENV, "BUILDKITE", "false") == "true" && filter!(k -> startswith(k, "cuda"), testsuite)
15+
get(ENV, "BUILDKITE", "false") == "true" && filter!(startswith("cuda") first, testsuite)
1616

1717
# ChainRules / Mooncake: skip on Apple CI and on Julia prerelease builds
1818
if (Sys.isapple() && get(ENV, "CI", "false") == "true") || !isempty(VERSION.prerelease)
19-
filter!(k -> !startswith(k, "chainrules") && !startswith(k, "mooncake"), testsuite)
19+
filter!(!startswith("chainrules") first, testsuite)
20+
filter!(!startswith("mooncake") first, testsuite)
2021
end
2122

2223
# --fast: skip AD tests and inject fast_tests=true into each worker sandbox
2324
fast = "--fast" in ARGS
2425
filtered_args = filter(!=("--fast"), ARGS)
2526
if fast
26-
filter!(k -> !startswith(k, "chainrules") && !startswith(k, "mooncake"), testsuite)
27+
filter!(!startswith("chainrules") first, testsuite)
28+
filter!(!startswith("mooncake") first, testsuite)
2729
end
2830
setup_path = joinpath(@__DIR__, "setup.jl")
2931
init_code = quote

0 commit comments

Comments
 (0)