Skip to content

Commit 7f9e9ec

Browse files
committed
Small fixes
1 parent 16b93d7 commit 7f9e9ec

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ MatrixAlgebraKitChainRulesCoreExt = "ChainRulesCore"
1616
Aqua = "0.6, 0.7, 0.8"
1717
ChainRulesCore = "1"
1818
ChainRulesTestUtils = "1"
19-
CUDA = "0.12, 0.13"
19+
CUDA = "5"
2020
JET = "0.9"
2121
LinearAlgebra = "1"
2222
SafeTestsets = "0.1"

jenkins/Jenkinsfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ pipeline {
2727
}
2828
steps {
2929
sh '''
30-
julia --project=. -e 'using Pkg: Pkg
31-
Pkg.instantiate();
32-
Pkg.test("MatrixAlgebraKit"; test_args=["cuda"])'
30+
julia --project=. -e 'using Pkg: Pkg; Pkg.test("MatrixAlgebraKit"; test_args=["--group=cuda"])'
3331
'''
3432
}
3533
}
@@ -53,9 +51,7 @@ pipeline {
5351
}
5452
steps {
5553
sh '''
56-
julia --project=. -e 'using Pkg: Pkg
57-
Pkg.instantiate();
58-
Pkg.test("MatrixAlgebraKit"; test_args=["cuda"])'
54+
julia --project=. -e 'using Pkg: Pkg; Pkg.test("MatrixAlgebraKit"; test_args=["--group=cuda"])'
5955
'''
6056
}
6157
}

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using SafeTestsets
22

3-
pat = r"(?:--group=)(\w+)"
4-
arg_id = findfirst(pat, ARGS)
3+
const pat = r"(?:--group=)(\w+)"
4+
arg_id = findfirst(contains(pat), ARGS)
55
const GROUP = if isnothing(arg_id)
66
uppercase(get(ENV, "GROUP", "ALL"))
77
else

0 commit comments

Comments
 (0)