Skip to content

Commit

Permalink
bump version, fix changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
j-fu committed Sep 29, 2024
1 parent 8302137 commit 1f2b299
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 41 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Changelog


## [1.9.0] 2024-09-29
## [1.8.0] - 2024-09-29

- Allow plotting of grids without boundary info
- Allow plotting using grids without boundary info

- Add dispatches for scalarplot(coord, cellnodes, func; kwargs...)
- Add dispatches for plotting with 'coord, cellnodes'


## [1.7.0] - 2024-06-18
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "GridVisualize"
uuid = "5eed8a63-0fb0-45eb-886d-8d5a387d12b8"
authors = ["Juergen Fuhrmann <[email protected]>"]
version = "1.7"
version = "1.8"

[deps]
ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4"
Expand Down
37 changes: 0 additions & 37 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,40 +9,3 @@ include("../docs/makeplots.jl")
makeplots(mktempdir(); Plotter = CairoMakie, extension = ".svg")
end

function testnotebook(input)
# de-markdown eventual cells with Pkg.develop and write
# to pluto-tmp.jl
notebook = Pluto.load_notebook_nobackup(input)
pkgcellfortest = findfirst(c -> occursin("Pkg.develop", c.code), notebook.cells)
if pkgcellfortest != nothing
# de-markdown pkg cell
notebook.cells[pkgcellfortest].code = replace(notebook.cells[pkgcellfortest].code, "md" => "")
notebook.cells[pkgcellfortest].code = replace(notebook.cells[pkgcellfortest].code, "\"\"\"" => "")
notebook.cells[pkgcellfortest].code = replace(notebook.cells[pkgcellfortest].code, ";" => "")
@info "Pkg cell: $(pkgcellfortest)\n$(notebook.cells[pkgcellfortest].code)"
Pluto.save_notebook(notebook, "pluto-tmp.jl")
input = "pluto-tmp.jl"
eval(Meta.parse(notebook.cells[pkgcellfortest].code))
end

# run notebook and check for cell errors
session = Pluto.ServerSession()
notebook = Pluto.SessionActions.open(session, input; run_async = false)
errored = false
for c in notebook.cells
if c.errored
errored = true
@error "Error in $(c.cell_id): $(c.output.body[:msg])\n $(c.code)"
end
end
!errored
end

@testset "notebooks" begin
# notebooks=["plutovista.jl"]
# for notebook in notebooks
# input=joinpath(@__DIR__,"..","examples",notebook)
# @info "notebook: $(input)"
# @test testnotebook(input)
# end
end

2 comments on commit 1f2b299

@j-fu
Copy link
Member Author

@j-fu j-fu commented on 1f2b299 Sep 29, 2024

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/116266

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

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.8.0 -m "<description of version>" 1f2b299a436b7750702ccca282fa14152d80ebf9
git push origin v1.8.0

Please sign in to comment.