From c942f891e7f204f50e2067df56849ef931e27c59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Vigil-V=C3=A1squez?= Date: Wed, 22 Jan 2025 22:56:42 +0100 Subject: [PATCH] deps: update for LTS support --- .github/workflows/CI.yml | 30 ++++++++++++++---------------- Project.toml | 19 +++++++++---------- test/runtests.jl | 2 +- 3 files changed, 24 insertions(+), 27 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 601530e..20cb003 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -13,28 +13,26 @@ concurrency: cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} jobs: test: - name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} - runs-on: ${{ matrix.os }} strategy: - fail-fast: false + fail-fast: true matrix: - version: - - '1.8' - - '1.9' - - 'nightly' + julia-version: + - 'lts' # long-term support release + - '1' # latest stable 1.x release os: - ubuntu-latest - arch: + arch: - x64 + runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 - with: - version: ${{ matrix.version }} - arch: ${{ matrix.arch }} - - uses: julia-actions/cache@v1 - - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-runtest@v1 + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 + with: + version: ${{ matrix.julia-version }} + arch: ${{ matrix.arch }} + - uses: julia-actions/cache@v2 + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 docs: name: Documentation runs-on: ubuntu-latest diff --git a/Project.toml b/Project.toml index 63dde0d..c116752 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "SimSpread" uuid = "afa5cc60-bf5a-45b9-aa6c-27158a106b2a" authors = ["Carlos Vigil Vásquez and contributors"] -version = "1.0.3" +version = "1.1.0" [deps] CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" @@ -14,15 +14,14 @@ StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" Trapz = "592b5752-818d-11e9-1e9a-2b8ca4a44cd1" [compat] -CUDA = "3.13.1" -DelimitedFiles = "1.9.1" -Downloads = "1.6.0" -MLBase = "0.9.1" -NamedArrays = "0.9.8" -StatsBase = "0.33.21" -Trapz = "2.0.3" -julia = "1.8" -Random="1.8" +CUDA = "3.13, 4, 5" +DelimitedFiles = "1" +Downloads = "1" +MLBase = "0.9" +NamedArrays = "0.9" +StatsBase = "0.33, 0.34" +Trapz = "2" +julia = "1.9" [extras] Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" diff --git a/test/runtests.jl b/test/runtests.jl index f249d11..b19d4ee 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -31,7 +31,7 @@ end X = [["s4", "s3"], ["s9", "s10"], ["s5", "s6"], ["s1", "s2"], ["s7", "s8"]] X̂ = NamedArray(zeros(10, 5), (["s$i" for i in 1:10], ["t$i" for i in 1:5])) - @test X == SimSpread.split(X̂, 5; seed=1) + @test X == SimSpread.split(X̂, 5; seed=1) skip = true end @testset "cutoff" begin # Prepare test