Skip to content

Commit

Permalink
Fixes for latest Meshes.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
juliohm committed Jul 28, 2023
1 parent 0f9afe7 commit 392d74e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 30 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:
fail-fast: false
matrix:
version:
- '1.9'
- '1'
os:
- ubuntu-latest
Expand Down
8 changes: 4 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name = "TuringPatterns"
uuid = "fde5428d-3bf0-5ade-b94a-d334303c4d77"
author = "Yuri Vishnevsky"
version = "0.4.8"
version = "0.5.0"

[deps]
GeoStatsBase = "323cb8eb-fbf6-51c0-afd0-f8fba70507b2"
Meshes = "eacbb407-ea5a-433e-ab97-5258b1ca43fa"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"

[compat]
GeoStatsBase = "0.31"
Meshes = "0.31, 0.32"
julia = "1.6"
GeoStatsBase = "0.32"
Meshes = "0.33"
julia = "1.9"
9 changes: 0 additions & 9 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
[deps]
GR = "28b8d3ca-fb5f-59d9-8090-bfdbd6d07a71"
GeoStatsBase = "323cb8eb-fbf6-51c0-afd0-f8fba70507b2"
GeoStatsPlots = "cf22561b-6452-4701-9483-6c69015d00e1"
ImageIO = "82e4d734-157c-48bb-816b-45c225c6df19"
Meshes = "eacbb407-ea5a-433e-ab97-5258b1ca43fa"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
ReferenceTests = "324d217c-45ce-50fc-942e-d289b448e8cf"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
GR = "=0.72.7"
Plots = "=1.38.16"
Binary file removed test/data/GeoStatsAPI.png
Binary file not shown.
17 changes: 0 additions & 17 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,29 +1,12 @@
using TuringPatterns
using Meshes
using GeoStatsBase
using Plots;
gr(size=(600, 400));
using GeoStatsPlots # TODO: replace by GeoStatsViz
using ReferenceTests, ImageIO
using Test, Random

# workaround GR warnings
ENV["GKSwstype"] = "100"

# environment settings
isCI = "CI" keys(ENV)
islinux = Sys.islinux()
visualtests = !isCI || (isCI && islinux)
datadir = joinpath(@__DIR__, "data")

@testset "TuringPatterns.jl" begin
@testset "GeoStats.jl API" begin
Random.seed!(2019)
problem = SimulationProblem(CartesianGrid(200, 200), :z => Float64, 3)
solution = solve(problem, TPS())

if visualtests
@test_reference "data/GeoStatsAPI.png" plot(solution, size=(900, 300))
end
end
end

2 comments on commit 392d74e

@juliohm
Copy link
Member 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/88559

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 v0.5.0 -m "<description of version>" 392d74e6587530491a8ecbc1e32f87c5699dd076
git push origin v0.5.0

Please sign in to comment.