Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI #68

Merged
merged 1 commit into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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