Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
ci: run tests only on 1.10 for now
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Oct 8, 2024
1 parent ba739d3 commit 4b9c8c4
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 35 deletions.
14 changes: 7 additions & 7 deletions .buildkite/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ steps:
matrix:
setup:
threads:
- "1"
- "1.10"
- "2"
- "4"
- "8"
plugins:
- JuliaCI/julia#v1:
version: "1"
version: "1.10"
command: |
julia --project=benchmarks -e 'println("--- :julia: Instantiating project")
using Pkg
Expand All @@ -34,7 +34,7 @@ steps:
soft_fail: true
plugins:
- JuliaCI/julia#v1:
version: "1"
version: "1.10"
command: |
julia --project=benchmarks -e 'println("--- :julia: Instantiating project")
using Pkg
Expand All @@ -58,7 +58,7 @@ steps:
- label: "CUDA: Run Benchmarks"
plugins:
- JuliaCI/julia#v1:
version: "1"
version: "1.10"
command: |
julia --project=benchmarks -e 'println("--- :julia: Instantiating project")
using Pkg
Expand All @@ -84,7 +84,7 @@ steps:
soft_fail: true
plugins:
- JuliaCI/julia#v1:
version: "1"
version: "1.10"
command: |
julia --project=benchmarks -e 'println("--- :julia: Instantiating project")
using Pkg
Expand All @@ -110,7 +110,7 @@ steps:
soft_fail: true
plugins:
- JuliaCI/julia#v1:
version: "1"
version: "1.10"
command: |
julia --project=benchmarks -e 'println("--- :julia: Instantiating project")
using Pkg
Expand All @@ -137,7 +137,7 @@ steps:
- label: "Combine benchmarks"
plugins:
- JuliaCI/julia#v1:
version: "1"
version: "1.10"
command: |
buildkite-agent artifact download "benchmarks/results/*" .
Expand Down
13 changes: 6 additions & 7 deletions .buildkite/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ steps:
matrix:
setup:
julia:
- "1"
- "1.10"

- group: ":julia: AMD GPU"
steps:
Expand All @@ -49,7 +49,7 @@ steps:
matrix:
setup:
julia:
- "1"
- "1.10"

# - group: ":julia: Metal GPU"
# steps:
Expand All @@ -76,7 +76,7 @@ steps:
# matrix:
# setup:
# julia:
# - "1"
# - "1.10"

# - group: ":julia: oneAPI GPU"
# steps:
Expand All @@ -102,14 +102,14 @@ steps:
# matrix:
# setup:
# julia:
# - "1"
# - "1.10"

- group: ":telescope: Downstream CUDA"
steps:
- label: ":julia: {{matrix.repo}} (Julia 1 + CUDA GPU)"
plugins:
- JuliaCI/julia#v1:
version: "1"
version: "1.10"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
Expand All @@ -132,7 +132,7 @@ steps:
- label: ":julia: {{matrix.repo}} (Julia 1 + AMD GPU)"
plugins:
- JuliaCI/julia#v1:
version: "1"
version: "1.10"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
Expand All @@ -154,6 +154,5 @@ steps:
- "Lux"

env:
RETESTITEMS_TESTITEM_TIMEOUT: 3600
JULIA_PKG_SERVER: ""
SECRET_CODECOV_TOKEN: "wMpDLaAVEHe6EJAc+LZBl4jF3wADVN6F+15vr/ONJHOv/XXbtYovuc1PCQwhz0AzZjWpSO12IDTyKfwVgYvqaGYfQ9yGyplJtSu2MiL2k44B/IY+wEZhsfkBIhXlG89si5A/I+/f8T8QuwxBqBLh8fYq7oxC+gNzKhbj8vIT4n5hCusvYYGufgKRC2U9P4ij0Sf40egQ5B+StaTykqJNq1163UARjNBypHIVDbYE0HUHiF7WB4eI5LxBBzlcHmsUkuGp6ZlqAu/8C83k65lwDnyHDfjvBM24q9GQTDFA5r7RUfYKHElQEBPk3GhoJn7XGIfD2pC0VNcw5jYCwsX2mw==;U2FsdGVkX1+euKMib66zno5Kkw7OxXo6v4RnkAA/HElJM46qfX17VgZ9iVLg45jOOWRgghmyYuy2WQ8RcVbuOg=="
38 changes: 17 additions & 21 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,13 @@ jobs:
name: Julia ${{ matrix.version }} - ${{ matrix.test_group }} - ${{ matrix.os }} - ${{ matrix.blas_backend }}
if: ${{ !contains(github.event.head_commit.message, '[skip tests]') }}
runs-on: ${{ matrix.os }}
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
version:
- "1"
- "1.10"
os:
- ubuntu-latest
- macos-latest
- windows-latest
test_group:
- "conv"
- "dense"
Expand All @@ -46,22 +43,27 @@ jobs:
- "others"
blas_backend:
- "default"
exclude:
- os: macos-latest
test_group: "conv" # Never terminates
include:
- os: ubuntu-latest
test_group: "dense"
blas_backend: "blis"
version: "1"
version: "1.10"
- os: ubuntu-latest
test_group: "dense"
blas_backend: "mkl"
version: "1"
version: "1.10"
- os: macos-latest
test_group: "dense"
blas_backend: "appleaccelerate"
version: "1"
version: "1.10"
- os: macos-latest
test_group: "all"
blas_backend: "default"
version: "1.10"
- os: windows-latest
test_group: "all"
blas_backend: "default"
version: "1.10"
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
Expand Down Expand Up @@ -95,16 +97,13 @@ jobs:
downstream:
name: Downstream ${{ matrix.package.repo }}/${{ matrix.package.group }}
if: ${{ !contains(github.event.head_commit.message, '[skip tests]') && github.base_ref == github.event.repository.default_branch }}
runs-on: ${{ matrix.os }}
timeout-minutes: 60
runs-on: ubuntu-latest
env:
GROUP: ${{ matrix.package.group }}
LUX_TEST_GROUP: ${{ matrix.package.group }}
strategy:
fail-fast: false
matrix:
julia-version: ["1"]
os: [ubuntu-latest]
package:
- { user: LuxDL, repo: Lux.jl, group: "core_layers" }
- { user: LuxDL, repo: Lux.jl, group: "contrib" }
Expand All @@ -116,12 +115,12 @@ jobs:
- { user: LuxDL, repo: Lux.jl, group: "recurrent_layers" }
- { user: LuxDL, repo: Lux.jl, group: "eltype_match" }
- { user: LuxDL, repo: Lux.jl, group: "fluxcompat" }
- { user: LuxDL, repo: Boltz.jl, group: All }
- { user: LuxDL, repo: Boltz.jl, group: "all" }
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.julia-version }}
version: "1.10"
arch: x64
- uses: julia-actions/julia-buildpkg@v1
- name: Clone Downstream
Expand Down Expand Up @@ -156,14 +155,11 @@ jobs:

downgrade:
if: ${{ !contains(github.event.head_commit.message, '[skip tests]') && github.base_ref == github.event.repository.default_branch }}
name: Downgrade Julia ${{ matrix.version }} - ${{ matrix.test_group }}
name: Downgrade Julia - ${{ matrix.test_group }}
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
version:
- "1"
test_group:
- "conv"
- "dense"
Expand All @@ -178,7 +174,7 @@ jobs:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
version: "1.10"
- uses: julia-actions/julia-downgrade-compat@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
Expand Down

0 comments on commit 4b9c8c4

Please sign in to comment.