Skip to content

Commit c7fcea3

Browse files
committed
remove CairoMakie extension in local tests
1 parent 270d3f6 commit c7fcea3

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
- 'ext/**'
1111
- 'test/runtests.jl'
1212
- 'test/core-test/**'
13-
- 'test/ext-test/cairomakie_ext.jl'
13+
- 'test/ext-test/cairomakie/**'
1414
- 'Project.toml'
1515
pull_request:
1616
branches:
@@ -21,7 +21,7 @@ on:
2121
- 'ext/**'
2222
- 'test/runtests.jl'
2323
- 'test/core-test/**'
24-
- 'test/ext-test/cairomakie_ext.jl'
24+
- 'test/ext-test/cairomakie/**'
2525
- 'Project.toml'
2626
types:
2727
- opened
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[deps]
2+
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0"
3+
QuantumToolbox = "6c2fb7c5-b903-41d2-bc5e-5a7c320b9fab"
4+
5+
[compat]
6+
CairoMakie = "0.12"
File renamed without changes.

test/runtests.jl

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,17 @@ if (GROUP == "All") || (GROUP == "Core")
4646
end
4747
end
4848

49-
if (GROUP == "All") || (GROUP == "CairoMakie_Ext")
50-
using QuantumToolbox
49+
if (GROUP == "CairoMakie_Ext")# || (GROUP == "All")
50+
51+
Pkg.activate("ext-test/cairomakie")
52+
Pkg.develop(PackageSpec(path = dirname(@__DIR__)))
53+
Pkg.instantiate()
5154

52-
(GROUP == "CairoMakie_Ext") && QuantumToolbox.about()
55+
using QuantumToolbox
56+
QuantumToolbox.about()
5357

5458
# CarioMakie is imported in the following script
55-
include(joinpath(testdir, "ext-test", "cairomakie_ext.jl"))
59+
include(joinpath(testdir, "ext-test", "cairomakie", "cairomakie_ext.jl"))
5660
end
5761

5862
if (GROUP == "CUDA_Ext")# || (GROUP == "All")

0 commit comments

Comments
 (0)