From 8d7d5318f9fa618d72edf4d216050a912bad18ce Mon Sep 17 00:00:00 2001 From: sriharshakandala Date: Wed, 30 Aug 2023 14:37:35 -0700 Subject: [PATCH] Add project to test path --- .buildkite/pipeline.yml | 6 ++++-- test/Project.toml | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index c7ccab9ad..c3cf0f8e8 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -37,7 +37,8 @@ steps: - label: ":computer: unit tests" key: "cpu_unittests" command: - - "julia --project -e 'using Pkg; Pkg.test()'" + - "julia --project=test -e 'using Pkg; Pkg.develop(path=\".\"); Pkg.instantiate(;verbose=true); Pkg.precompile(;strict=true)'" + - "julia --project=test --color=yes test/runtests.jl" agents: config: cpu queue: central @@ -46,7 +47,8 @@ steps: - label: ":flower_playing_cards: unit tests" key: "gpu_unittests" command: - - "julia --project -e 'using Pkg; Pkg.test(;test_args=[\"CuArray\"])'" + - "julia --project=test -e 'using Pkg; Pkg.develop(path=\".\"); Pkg.instantiate(;verbose=true); Pkg.precompile(;strict=true)'" + - "julia --project=test --color=yes test/gpu_tests.jl" agents: config: gpu queue: central diff --git a/test/Project.toml b/test/Project.toml index e6f37fe0a..9564e11ce 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -3,6 +3,7 @@ BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf" CLIMAParameters = "6eacf6c3-8458-43b9-ae03-caf5306d3d53" CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" CUDAKernels = "72cfdca4-0801-4ab0-bf6a-d52aa10adc57" +CloudMicrophysics = "6a9e3e04-43cd-43ba-94b9-e8782df3c71b" KernelAbstractions = "63c18a36-062a-441e-b654-da1e3ab1ce7c" NonlinearSolve = "8913a72c-1f9b-4ce2-8d82-65094dcecaec" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"