Skip to content

Commit

Permalink
Add project to test path
Browse files Browse the repository at this point in the history
  • Loading branch information
sriharshakandala committed Aug 30, 2023
1 parent 268baf1 commit 8d7d531
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8d7d531

Please sign in to comment.