Skip to content

Commit

Permalink
Test with Julia 1.7 (#38)
Browse files Browse the repository at this point in the history
* Test with Julia 1.7

* Workaround hang with 1.8-DEV

* Require Aqua 0.5.2 in test
  • Loading branch information
tkf authored Dec 24, 2021
1 parent 7572fea commit f07007f
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
julia-version: ['~1.6.0-beta1', '1.5', '1.4', 'nightly']
julia-version:
- '1.7'
- '1.6'
- '1.5'
- '1.4'
- 'nightly'
fail-fast: false
name: Test Julia ${{ matrix.julia-version }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Transducers = "28d57a85-8fef-5791-bfe6-a80928e7c999"

[compat]
Aqua = "0.5"
Aqua = "0.5.2"
Documenter = "0.24"
6 changes: 3 additions & 3 deletions test/environments/main/Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ uuid = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
version = "2.4.0"

[[Aqua]]
deps = ["Pkg", "Test"]
git-tree-sha1 = "b28b1f08e814090ef35eec6ab974264b3a93c862"
deps = ["Compat", "Pkg", "Test"]
git-tree-sha1 = "c7ecb1aec380580a3fc3e179416ffc0bef897214"
uuid = "4c88cf16-eb10-579e-8560-4a9242c79595"
version = "0.5.0"
version = "0.5.2"

[[ArgCheck]]
git-tree-sha1 = "dedbbb2ddb876f899585c4ec4433265e3017215a"
Expand Down
2 changes: 1 addition & 1 deletion test/environments/main/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Transducers = "28d57a85-8fef-5791-bfe6-a80928e7c999"

[compat]
Aqua = "0.5"
Aqua = "0.5.2"
Documenter = "0.24"
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ using Distributed: addprocs, nworkers
using Test

if get(ENV, "CI", "false") == "true"
VERSION < v"1.8-" && # workaround the hang in CI
addprocs(3)

# Tests in `PerformanceTestTools.@include_foreach` might cause
Expand Down
1 change: 1 addition & 0 deletions test/test_uses_processes.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module TestUsesProcesses
using Folds
using Folds.Testing: test_uses_processes
VERSION < v"1.8-" && # workaround the hang in CI
test_uses_processes(DistributedEx())
end # module

0 comments on commit f07007f

Please sign in to comment.