Skip to content

Commit

Permalink
add tests to pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
simone-silvestri committed Nov 14, 2023
1 parent 7e88e91 commit 1668424
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
14 changes: 11 additions & 3 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,19 @@ steps:

- wait

- label: "Run all the tests"
key: "tests"
- label: "Run JRA55 tests"
key: "tests jra55"
env:
CUDA_VISIBLE_DEVICES: "-1"
CUDA_VISIBLE_DEVICES: "-1"
TEST_GROUP: "jra55"
commands:
- "julia --project -e 'using Pkg; Pkg.test()'"

- label: "Run ECCO2 tests"
key: "tests ecco2"
env:
CUDA_VISIBLE_DEVICES: "-1"
TEST_GROUP: "ecco2"
commands:
- "julia --project -e 'using Pkg; Pkg.test()'"

2 changes: 1 addition & 1 deletion src/DataWrangling/ECCO2.jl
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function ecco2_field(variable_name;
z = construct_vertical_interfaces(ds, depth_name)
N = size(data)

# add the vertical halo for 3D fields
# add vertical halo for 3D fields
halo = (horizontal_halo..., 1)

LZ = Center
Expand Down
4 changes: 4 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ if test_group == :jra55 || test_group == :all
include("test_jra55.jl")
end

if test_group == :ecco2 || test_group == :all
include("test_ecco2.jl")
end

# Tests that we can download JRA55 utilities
if test_group == :downloading || test_group == :all
include("test_downloading.jl")
Expand Down

0 comments on commit 1668424

Please sign in to comment.