From 1ed3f36511b049181209a52c9669b1e26e202458 Mon Sep 17 00:00:00 2001 From: Yi-Te Huang Date: Tue, 8 Apr 2025 10:40:29 +0900 Subject: [PATCH] adjust extension tests file structure --- .github/workflows/CI.yml | 4 ++-- test/ext-test/{ => cpu}/cairomakie/Project.toml | 0 test/ext-test/{ => cpu}/cairomakie/cairomakie_ext.jl | 0 test/runtests.jl | 4 ++-- 4 files changed, 4 insertions(+), 4 deletions(-) rename test/ext-test/{ => cpu}/cairomakie/Project.toml (100%) rename test/ext-test/{ => cpu}/cairomakie/cairomakie_ext.jl (100%) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 57deaf5e8..c32f88395 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -10,7 +10,7 @@ on: - 'ext/**' - 'test/runtests.jl' - 'test/core-test/**' - - 'test/ext-test/cairomakie/**' + - 'test/ext-test/cpu/**' - 'Project.toml' pull_request: branches: @@ -21,7 +21,7 @@ on: - 'ext/**' - 'test/runtests.jl' - 'test/core-test/**' - - 'test/ext-test/cairomakie/**' + - 'test/ext-test/cpu/**' - 'Project.toml' types: - opened diff --git a/test/ext-test/cairomakie/Project.toml b/test/ext-test/cpu/cairomakie/Project.toml similarity index 100% rename from test/ext-test/cairomakie/Project.toml rename to test/ext-test/cpu/cairomakie/Project.toml diff --git a/test/ext-test/cairomakie/cairomakie_ext.jl b/test/ext-test/cpu/cairomakie/cairomakie_ext.jl similarity index 100% rename from test/ext-test/cairomakie/cairomakie_ext.jl rename to test/ext-test/cpu/cairomakie/cairomakie_ext.jl diff --git a/test/runtests.jl b/test/runtests.jl index aa768d718..c8a8efb4e 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -51,7 +51,7 @@ if (GROUP == "All") || (GROUP == "Code-Quality") end if (GROUP == "CairoMakie_Ext")# || (GROUP == "All") - Pkg.activate("ext-test/cairomakie") + Pkg.activate("ext-test/cpu/cairomakie") Pkg.develop(PackageSpec(path = dirname(@__DIR__))) Pkg.instantiate() @@ -59,7 +59,7 @@ if (GROUP == "CairoMakie_Ext")# || (GROUP == "All") QuantumToolbox.about() # CarioMakie is imported in the following script - include(joinpath(testdir, "ext-test", "cairomakie", "cairomakie_ext.jl")) + include(joinpath(testdir, "ext-test", "cpu", "cairomakie", "cairomakie_ext.jl")) end if (GROUP == "CUDA_Ext")# || (GROUP == "All")