Skip to content

Commit

Permalink
Add code coverage plugin to Buildkite pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
rkierulf committed Jun 19, 2024
1 parent 43672f2 commit 310f3a1
Showing 1 changed file with 28 additions and 4 deletions.
32 changes: 28 additions & 4 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,15 @@ steps:
- "1.10"
env:
CI: BUILDKITE
CODECOV_FLAGS: core
plugins:
- JuliaCI/julia#v1:
version: "{{matrix.version}}"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- KomaMRICore/src
- KomaMRICore/ext
command: |
julia -e 'println("--- :julia: Instantiating project")
using Pkg
Expand All @@ -20,7 +26,7 @@ steps:
julia -e 'println("--- :julia: Running tests")
using Pkg
Pkg.test("KomaMRICore"; test_args=["AMDGPU"])'
Pkg.test("KomaMRICore"; coverage=true, test_args=["AMDGPU"])'
agents:
queue: "juliagpu"
rocm: "*"
Expand All @@ -33,9 +39,15 @@ steps:
- "1.9"
env:
CI: BUILDKITE
CODECOV_FLAGS: core
plugins:
- JuliaCI/julia#v1:
version: "{{matrix.version}}"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- KomaMRICore/src
- KomaMRICore/ext
command: |
julia -e 'println("--- :julia: Instantiating project")
using Pkg
Expand All @@ -47,7 +59,7 @@ steps:
julia -e 'println("--- :julia: Running tests")
using Pkg
Pkg.test("KomaMRICore"; test_args=["CUDA"])'
Pkg.test("KomaMRICore"; coverage=true, test_args=["CUDA"])'
agents:
queue: "juliagpu"
cuda: "*"
Expand All @@ -60,9 +72,15 @@ steps:
- "1.9"
env:
CI: BUILDKITE
CODECOV_FLAGS: core
plugins:
- JuliaCI/julia#v1:
version: "{{matrix.version}}"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- KomaMRICore/src
- KomaMRICore/ext
command: |
julia -e 'println("--- :julia: Instantiating project")
using Pkg
Expand All @@ -74,7 +92,7 @@ steps:
julia -e 'println("--- :julia: Running tests")
using Pkg
Pkg.test("KomaMRICore"; test_args=["Metal"])'
Pkg.test("KomaMRICore"; coverage=true, test_args=["Metal"])'
agents:
queue: "juliaecosystem"
os: "macos"
Expand All @@ -88,9 +106,15 @@ steps:
- "1.9"
env:
CI: BUILDKITE
CODECOV_FLAGS: core
plugins:
- JuliaCI/julia#v1:
version: "{{matrix.version}}"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- KomaMRICore/src
- KomaMRICore/ext
command: |
julia -e 'println("--- :julia: Instantiating project")
using Pkg
Expand All @@ -102,7 +126,7 @@ steps:
julia -e 'println("--- :julia: Running tests")
using Pkg
Pkg.test("KomaMRICore"; test_args=["oneAPI"])'
Pkg.test("KomaMRICore"; coverage=true, test_args=["oneAPI"])'
agents:
queue: "juliagpu"
intel: "*"
Expand Down

0 comments on commit 310f3a1

Please sign in to comment.