Skip to content

Commit

Permalink
fix tests, increment version
Browse files Browse the repository at this point in the history
  • Loading branch information
itsdfish committed Mar 25, 2024
1 parent d773687 commit 844fb50
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions test/utility_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 844fb50

Please sign in to comment.