Skip to content

Commit

Permalink
Version 0.3.0: Use ViennaRNA.jl v0.11.0, ViennaRNA_jll v2.6.2, add Aq…
Browse files Browse the repository at this point in the history
…ua tests (#9)

* Add Aqua.test_all to tests

* Do not run some tests from Aqua.test_all that fail on julia-1.6

* Update to ViennaRNA.jl 0.11

* v0.3.0
  • Loading branch information
marcom authored Jun 26, 2023
1 parent 375c1bb commit 7c2755d
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 11 deletions.
24 changes: 13 additions & 11 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PlotRNA"
uuid = "eab79ae3-43af-4078-b4a3-b180fd2797a7"
authors = ["Marco Matthies <marco.matthies@gmail.com>"]
version = "0.2.2"
version = "0.3.0"

[deps]
BioStockholm = "eeb925a3-6f9d-43e6-829e-e0ea03b76ecf"
Expand All @@ -14,7 +14,16 @@ Scratch = "6c6a2e73-6563-6170-7368-637461726353"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
ViennaRNA = "05a721ad-238d-4945-8c85-8b5c1fff3465"

[weakdeps]
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0"
UnicodePlots = "b8865327-cd53-5732-bb35-84acbb429228"

[extensions]
CairoMakieExt = "CairoMakie"
UnicodePlotsExt = "UnicodePlots"

[compat]
Aqua = "0.6"
BioStockholm = "0.1"
CairoMakie = "0.10"
ColorSchemes = "3.18"
Expand All @@ -24,23 +33,16 @@ R2R_jll = "=1.0.6"
Requires = "1.3"
Scratch = "1.1"
UnicodePlots = "3"
ViennaRNA = "0.9,0.10"
ViennaRNA = "0.11"
julia = "1.6"

[extensions]
CairoMakieExt = "CairoMakie"
UnicodePlotsExt = "UnicodePlots"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
BioStockholm = "eeb925a3-6f9d-43e6-829e-e0ea03b76ecf"
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
UnicodePlots = "b8865327-cd53-5732-bb35-84acbb429228"
ViennaRNA = "05a721ad-238d-4945-8c85-8b5c1fff3465"

[targets]
test = ["BioStockholm", "CairoMakie", "Test", "UnicodePlots", "ViennaRNA"]

[weakdeps]
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0"
UnicodePlots = "b8865327-cd53-5732-bb35-84acbb429228"
test = ["Aqua", "BioStockholm", "CairoMakie", "Test", "UnicodePlots", "ViennaRNA"]
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# PlotRNA.jl

[![Build Status](https://github.com/marcom/PlotRNA.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/marcom/PlotRNA.jl/actions/workflows/CI.yml?query=branch%3Amain)
[![Aqua QA](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl)

Plot nucleic acid secondary structures with Julia.

Expand Down
15 changes: 15 additions & 0 deletions test/aqua.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import Aqua
using PlotRNA

@testset "Aqua.test_all" begin
showtestset()
if VERSION >= v"1.7"
Aqua.test_all(PlotRNA)
else
# Aqua-0.6.4 on julia-1.6 complains about method ambiguities
# and Project.toml formatting, julia-1.9 does not
# Ref for Project.toml formatting: https://github.com/JuliaTesting/Aqua.jl/issues/105
# Method ambiguities might be due to the compiler in julia-1.6 being a lot older
Aqua.test_all(PlotRNA; ambiguities=false, project_toml_formatting=false)
end
end
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 @@ showtestset() = println(" "^(2 * Test.get_testset_depth()), "testing ",

@testset verbose=true "PlotRNA" begin
showtestset()
include("aqua.jl")
include("plot_structure.jl")
if isnothing(Sys.which("java"))
@warn "Can't find java executable, skipping VARNA tests"
Expand Down

2 comments on commit 7c2755d

@marcom
Copy link
Owner Author

@marcom marcom commented on 7c2755d Jun 27, 2023

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

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.3.0 -m "<description of version>" 7c2755dfb804db6bbe920838c316e68a140b0ad0
git push origin v0.3.0

Please sign in to comment.