From af71c35fbf792dcd2a3847a5e583faa7dcf116aa Mon Sep 17 00:00:00 2001 From: Abhishek Bhatt Date: Fri, 10 Nov 2023 15:44:44 -0500 Subject: [PATCH] initial changes for buildkite --- .buildkite/pipeline.yml | 20 ++++++++++++++++++++ test/runtests.jl | 10 ++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .buildkite/pipeline.yml diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml new file mode 100644 index 00000000..fdabc27b --- /dev/null +++ b/.buildkite/pipeline.yml @@ -0,0 +1,20 @@ +steps: + - label: "CI_Plot_&_Doctests" + matrix: + setup: + version: + - "1" + group: + - "QUANTUMSAVORY_PLOT_TEST" + env: + BUILDKITE_PLUGIN_JULIA_VERSION: "{{matrix.version}}" + GROUP: "{{matrix.group}}" + plugins: + - JuliaCI/julia#v1 + - JuliaCI/julia-test#v1: + coverage: false + julia_args: "--threads=auto" + agents: + os: "linux" + arch: "x86_64" + timeout_in_minutes: 600 \ No newline at end of file diff --git a/test/runtests.jl b/test/runtests.jl index d23dd519..995b6e7a 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -40,6 +40,16 @@ println("Starting tests with $(Threads.nthreads()) threads out of `Sys.CPU_THREA get(ENV,"QUANTUMSAVORY_PLOT_TEST","")=="true" && @doset "plotting_cairo" get(ENV,"QUANTUMSAVORY_PLOT_TEST","")=="true" && @doset "plotting_gl" get(ENV,"QUANTUMSAVORY_PLOT_TEST","")=="true" && VERSION >= v"1.9" && @doset "doctests" + +const GROUP = get(ENV, "GROUP", "All") +begin + if GROUP == "QUANTUMSAVORY_PLOT_TEST" + @safetestset "plotting_cairo" begin include("test_plotting_cairo.jl") end + @safetestset "plotting_gl" begin include("test_plotting_gl.jl") end + @safetestset "doctests" begin include("test_doctests.jl") end + end +end + get(ENV,"JET_TEST","")=="true" && @doset "jet" using Aqua