From 844fb500d769d1489c54e30821579718125f6a98 Mon Sep 17 00:00:00 2001 From: itsdfish Date: Mon, 25 Mar 2024 04:55:23 -0400 Subject: [PATCH] fix tests, increment version --- .github/workflows/CI.yml | 7 +++---- Project.toml | 2 +- test/utility_tests.jl | 4 ++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f6ba969..633608e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -15,9 +15,8 @@ jobs: fail-fast: false matrix: version: - - '1.6' # Replace this with the minimum Julia version that your package supports. E.g. if your package requires Julia 1.5 or higher, change this to '1.5'. - - '1' # Leave this line unchanged. '1' will automatically expand to the latest stable 1.x release of Julia. - #- 'nightly' + - '1.10' # Replace this with the minimum Julia version that your package supports. E.g. if your package requires Julia 1.5 or higher, change this to '1.5'. + - 'nightly' os: - ubuntu-latest arch: @@ -51,7 +50,7 @@ jobs: - uses: actions/checkout@v3 - uses: julia-actions/setup-julia@v1 with: - version: '1.8' + version: '1.10' - run: | julia --project=docs -e ' using Pkg diff --git a/Project.toml b/Project.toml index 876ce58..4b596e5 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "DifferentialEvolutionMCMC" uuid = "607db5a9-722a-4af8-9a06-1810c0fe385b" authors = ["itsdfish"] -version = "0.7.7" +version = "0.7.8" [deps] AbstractMCMC = "80f14c24-f653-4e6a-9b94-39d6b0f70001" diff --git a/test/utility_tests.jl b/test/utility_tests.jl index f762350..6a6e9e4 100644 --- a/test/utility_tests.jl +++ b/test/utility_tests.jl @@ -96,7 +96,7 @@ using DifferentialEvolutionMCMC, Test, Random, Parameters, Distributions import DifferentialEvolutionMCMC: select_groups, select_particles, shift_particles!, sample_init - Random.seed!(459) #Random.seed!(0451) # + Random.seed!(7541) #Random.seed!(0451) # function equal(p1::Particle, p2::Particle) fields = fieldnames(Particle) @@ -151,7 +151,7 @@ for (i,c,p,cp) in zip(gidx, p_idx, cidx, cp_idx) @test sub_group[i][c].Θ == c_sub_group[p][cp].Θ end - ridx = [4,3] + ridx = [2,4] for (i,c,r) in zip(1:2, p_idx[1:2], ridx) @test sub_group[i][c].Θ == groups[r][c].Θ end