Skip to content

Commit

Permalink
Test with Julia 1.7 (#501)
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 ed41897 commit b222cbe
Show file tree
Hide file tree
Showing 5 changed files with 12 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'
envname: ["main"]
include:
- julia-version: '1.0'
Expand Down
2 changes: 1 addition & 1 deletion test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Transducers = "28d57a85-8fef-5791-bfe6-a80928e7c999"
TypedTables = "9d95f2ec-7b3d-5a63-8d20-e2491e220bb9"

[compat]
Aqua = "0.5"
Aqua = "0.5.2"
Compat = ">= 3.9"
DataFrames = ">= 0.20"
LiterateTest = "0.1.1"
6 changes: 3 additions & 3 deletions test/environments/main/Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ uuid = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
version = "3.2.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 = "59c256cf71c3982484ae4486ee86a3d7da891dea"
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 @@ -36,7 +36,7 @@ Transducers = "28d57a85-8fef-5791-bfe6-a80928e7c999"
TypedTables = "9d95f2ec-7b3d-5a63-8d20-e2491e220bb9"

[compat]
Aqua = "0.5"
Aqua = "0.5.2"
Compat = ">= 3.9"
DataFrames = ">= 0.20"
LiterateTest = "0.1.1"
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

0 comments on commit b222cbe

Please sign in to comment.