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

ci: run tests only on 1.10 for now #975

Merged
merged 2 commits into from
Oct 8, 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
4 changes: 2 additions & 2 deletions .buildkite/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ steps:
- "8"
plugins:
- JuliaCI/julia#v1:
version: "1"
version: "1.10"
command: |
julia --project=benchmarks -e 'println("--- :julia: Instantiating project")
using Pkg
Expand Down Expand Up @@ -61,7 +61,7 @@ steps:
- label: "Combine benchmarks"
plugins:
- JuliaCI/julia#v1:
version: "1"
version: "1.10"
command: |
buildkite-agent artifact download "benchmarks/results/*" .

Expand Down
27 changes: 6 additions & 21 deletions .buildkite/testing.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
steps:
- group: ":julia: CUDA GPU"
steps:
- label: ":julia: Julia {{matrix.julia}} + CUDA GPU ({{matrix.group}})"
- label: ":julia: Julia {{matrix.julia}} + CUDA GPU"
plugins:
- JuliaCI/julia#v1:
version: "{{matrix.julia}}"
Expand All @@ -17,25 +17,19 @@ steps:
cuda: "*"
env:
BACKEND_GROUP: "CUDA"
LUX_TEST_GROUP: "{{matrix.group}}"
if: build.message !~ /\[skip tests\]/ && build.message !~ /\[skip ci\]/
timeout_in_minutes: 60
matrix:
setup:
julia:
- "1"
group:
- "!fluxcompat,distributed,recurrent_layers"
- "fluxcompat"
- "distributed"
- "recurrent_layers"
- "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 @@ -56,7 +50,7 @@ steps:

- group: ":julia: AMD GPU"
steps:
- label: ":julia: Julia: {{matrix.julia}} + AMD GPU ({{matrix.group}})"
- label: ":julia: Julia: {{matrix.julia}} + AMD GPU"
plugins:
- JuliaCI/julia#v1:
version: "{{matrix.julia}}"
Expand All @@ -69,8 +63,6 @@ steps:
- ext
env:
BACKEND_GROUP: "AMDGPU"
RETESTITEMS_NWORKERS: 2
LUX_TEST_GROUP: "{{matrix.group}}"
agents:
queue: "juliagpu"
rocm: "*"
Expand All @@ -80,19 +72,14 @@ steps:
matrix:
setup:
julia:
- "1"
group:
- "!fluxcompat,distributed,recurrent_layers"
- "fluxcompat"
- "distributed"
- "recurrent_layers"
- "1.10"

- group: ":telescope: Downstream AMD GPU"
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 @@ -103,8 +90,6 @@ steps:
queue: "juliagpu"
rocm: "*"
rocmgpu: "*"
env:
RETESTITEMS_NWORKERS: 2
if: build.message !~ /\[skip tests\]/ && build.message !~ /\[skip downstream\]/ && build.message !~ /\[skip ci\]/ && build.pull_request.labels includes "run downstream test"
timeout_in_minutes: 60
matrix:
Expand Down
40 changes: 13 additions & 27 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,9 @@ jobs:
fail-fast: false
matrix:
version:
- "1"
- "1.10"
os:
- ubuntu-latest
- macos-latest
- windows-latest
test_group:
- "core_layers"
- "contrib"
Expand All @@ -44,6 +42,13 @@ jobs:
- "recurrent_layers"
- "eltype_match"
- "fluxcompat"
include:
- version: "1.10"
os: macos-latest
test_group: "all"
- version: "1.10"
os: windows-latest
test_group: "all"
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
Expand Down Expand Up @@ -76,15 +81,13 @@ jobs:
downstream:
name: Downstream ${{ matrix.package.repo }}/${{ matrix.package.group }}
if: ${{ !contains(github.event.head_commit.message, '[skip tests]') && contains(github.event.pull_request.labels.*.name, 'run downstream test') }}
runs-on: ${{ matrix.os }}
timeout-minutes: 60
runs-on: ubuntu-latest
timeout-minutes: 240
env:
GROUP: ${{ matrix.package.group }}
strategy:
fail-fast: false
matrix:
julia-version: ["1"]
os: [ubuntu-latest]
package:
- { user: SciML, repo: DiffEqFlux.jl, group: BasicNeuralDE }
- { user: SciML, repo: DiffEqFlux.jl, group: AdvancedNeuralDE }
Expand All @@ -96,7 +99,7 @@ jobs:
- 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 @@ -131,33 +134,16 @@ 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 1.10
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: ["1"]
test_group:
- "core_layers"
- "contrib"
- "helpers"
- "distributed"
- "normalize_layers"
- "others"
- "autodiff"
- "recurrent_layers"
- "eltype_match"
- "fluxcompat"
steps:
- 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
env:
LUX_TEST_GROUP: ${{ matrix.test_group }}
- uses: julia-actions/julia-processcoverage@v1
with:
directories: src,ext
Expand Down
Loading