Skip to content

Commit

Permalink
Fix tests on Julia 1.9 (#643)
Browse files Browse the repository at this point in the history
* Fix tests on Julia 1.9

* Test on 1.9

* Bump version number
  • Loading branch information
sostock authored Apr 14, 2023
1 parent 933ad3d commit 4ce89e1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
julia-version:
- "1.0"
- "1"
- '~1.9.0-0'
- "nightly"
os:
- ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "Unitful"
uuid = "1986cc42-f94f-5a68-af5c-568840ba703d"
version = "1.13.0"
version = "1.13.1"

[deps]
ConstructionBase = "187b0558-2788-49d3-abe0-74a17ed4e7c9"
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1458,7 +1458,7 @@ end
@test zero(Quantity[1m, 1s]) == [0m, 0s]
@test zero([1mm, missing]) == [0mm, 0mm]
@test zero(Union{typeof(0.0s),Missing}[missing]) == [0.0s]
if VERSION v"1.10.0-DEV.425"
if VERSION v"1.9.0-rc1"
@test zero(Union{Quantity{Int,𝐋},Missing}[1mm, missing]) == [0m, 0m]
@test zero(Union{Quantity{Float64,𝐋},Missing}[1.0mm, missing]) == [0.0m, 0.0m]
@test zero(Union{Quantity{Int,𝚯},Missing}[1°C, 2°F, missing]) == [0K, 0K, 0K]
Expand Down

2 comments on commit 4ce89e1

@sostock
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/81650

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.13.1 -m "<description of version>" 4ce89e14d8b3029e65e7dec8be0f36fc8f1acf10
git push origin v1.13.1

Please sign in to comment.