Skip to content

Commit

Permalink
Merge pull request #57 from Abhishek-1Bhatt/buildkite
Browse files Browse the repository at this point in the history
initial changes for buildkite
  • Loading branch information
ba2tro authored Nov 10, 2023
2 parents bf5c68d + af71c35 commit 1c8a1f0
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -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
10 changes: 10 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c8a1f0

Please sign in to comment.