Skip to content

Commit

Permalink
Update CI (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
luraess authored Sep 3, 2024
2 parents 46e9d4b + effb7aa commit 27984c5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 22 deletions.
7 changes: 3 additions & 4 deletions .buildkite/run_tests.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# DEBUG: until registered, Chmy.jl needs to be explicitly added in "command:" steps
steps:
- label: "CUDA Julia {{matrix.version}}"
matrix:
setup:
version:
- "1.9"
- "1.10"
- "1.11"
plugins:
- JuliaCI/julia#v1:
version: "{{matrix.version}}"
Expand All @@ -14,7 +14,6 @@ steps:
command: |
julia -e 'println("--- :julia: Instantiating project")
using Pkg
Pkg.add(url="https://github.com/PTsolvers/Chmy.jl")
Pkg.develop(; path=pwd())' || exit 3
julia -e 'println("+++ :julia: Running tests")
Expand All @@ -32,6 +31,7 @@ steps:
setup:
version:
- "1.10"
- "1.11"
plugins:
- JuliaCI/julia#v1:
version: "{{matrix.version}}"
Expand All @@ -40,7 +40,6 @@ steps:
command: |
julia -e 'println("--- :julia: Instantiating project")
using Pkg
Pkg.add(url="https://github.com/PTsolvers/Chmy.jl")
Pkg.develop(; path=pwd())' || exit 3
julia -e 'println("+++ :julia: Running tests")
Expand All @@ -49,7 +48,7 @@ steps:
agents:
queue: "juliagpu"
rocm: "*"
rocmgpu: "*" #"gfx1101" # select Ludovic's Navi 3 card (ROCm 6.0)
rocmgpu: "*"
timeout_in_minutes: 120
soft_fail:
- exit_status: 3
Expand Down
22 changes: 4 additions & 18 deletions .github/workflows/UnitTests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# DEBUG: until registered, Chmy.jl needs to be explicitly added in "Run tests" (instead of using "legacy testing")
name: Unit Tests
on:
push:
Expand Down Expand Up @@ -27,8 +26,8 @@ jobs:
fail-fast: false
matrix:
version:
# - '1.9'
- '1' # Latest stable 1.x release of Julia
- '1.10'
- '~1.11.0-0'
os:
- ubuntu-latest
- macOS-latest
Expand Down Expand Up @@ -60,21 +59,8 @@ jobs:
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
# --- legacy testing
# - uses: julia-actions/julia-buildpkg@latest
# - uses: julia-actions/julia-runtest@latest
# --- testing with un-registered Chmy.jl
- name: Run tests
run: |
julia -e 'println("--- :julia: Instantiating project")
using Pkg
Pkg.add(url="https://github.com/PTsolvers/Chmy.jl")
Pkg.develop(; path=pwd())'
julia -e 'println("+++ :julia: Running tests")
using Pkg
Pkg.test("FastIce"; coverage=true)'
# codecov
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v4
with:
Expand Down

0 comments on commit 27984c5

Please sign in to comment.