Skip to content

Commit

Permalink
Merge pull request #52 from JuliaFolds2/support_julia16
Browse files Browse the repository at this point in the history
recover support for older Julia versions
  • Loading branch information
lmiq authored Sep 25, 2024
2 parents ed80005 + 49a0be6 commit f5b3d66
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
fail-fast: false
matrix:
version:
- '1.6' # remove at some point in the future, if needed.
- '1.10' # replace by 'lts' when this points to 1.10
- '1' # latest stable 1.x release
- 'pre'
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
ChunkSplitters.jl Changelog
=========================

Version 3.1.0
-------------
- ![INFO][badge-info] Recover support for Julia 1.6+. All tests pass from 1.9+, and an allocation test fails in 1.6.


Version 3.0.0
-------------
- ![BREAKING][badge-breaking] The new lower compat bound for Julia is 1.10. This implies that support for the old LTS 1.6 has been dropped.
Expand Down
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ Aqua = "0.8.5"
BenchmarkTools = "1"
Documenter = "1"
OffsetArrays = "1"
Test = "1.10"
Test = "1.6"
TestItemRunner = "1"
TestItems = "1"
julia = "1.10"
julia = "1.6"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Expand Down
6 changes: 5 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,10 @@ end
b = @benchmark $f_chunks($x; n=4) samples = 1 evals = 1
@test b.allocs == 0
b = @benchmark $f_chunks($x; size=10) samples = 1 evals = 1
@test b.allocs == 0
if VERSION >= v"1.10"
@test b.allocs == 0
else
@test_broken b.allocs == 0
end
end
end

0 comments on commit f5b3d66

Please sign in to comment.