mirror of
https://github.com/MillironX/SequenceVariation.jl.git
synced 2024-11-24 22:29:55 +00:00
Add Aqua tests
This commit is contained in:
parent
1942090cd6
commit
cb53defe9a
4 changed files with 19 additions and 1 deletions
|
@ -10,6 +10,7 @@ BioSequences = "7e6ae17a-c86d-528c-b3b9-7f778a29fe59"
|
|||
BioSymbols = "3c28c6f8-a34d-59c4-9654-267d177fcfa9"
|
||||
|
||||
[compat]
|
||||
Aqua = "0.6.0"
|
||||
BioAlignments = "2,3"
|
||||
BioGenerics = "0.1"
|
||||
BioSequences = "2,3"
|
||||
|
@ -17,9 +18,10 @@ BioSymbols = "4,5"
|
|||
julia = "1.6"
|
||||
|
||||
[extras]
|
||||
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
|
||||
BioAlignments = "00701ae9-d1dc-5365-b64a-a3a3ebf5695e"
|
||||
BioSequences = "7e6ae17a-c86d-528c-b3b9-7f778a29fe59"
|
||||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
|
||||
|
||||
[targets]
|
||||
test = ["Test", "BioSequences", "BioAlignments"]
|
||||
test = ["Aqua", "Test", "BioSequences", "BioAlignments"]
|
||||
|
|
|
@ -30,6 +30,7 @@ SequenceVariation is tested against Julia `1.X` on Linux, OS X, and Windows.
|
|||
[![Unit Tests](https://github.com/BioJulia/SequenceVariation.jl/actions/workflows/UnitTests.yml/badge.svg?branch=master)](https://github.com/BioJulia/SequenceVariation.jl/actions/workflows/UnitTests.yml)
|
||||
[![Documentation](https://github.com/BioJulia/SequenceVariation.jl/workflows/Documentation/badge.svg?branch=master)](https://github.com/BioJulia/SequenceVariation.jl/actions?query=workflow%3ADocumentation+branch%3Amaster)
|
||||
[![codecov](https://codecov.io/gh/BioJulia/SequenceVariation.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/BioJulia/SequenceVariation.jl)
|
||||
[![Aqua QA](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl)
|
||||
|
||||
## Contributing
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@ SequenceVariation is tested against Julia `1.X` on Linux, OS X, and Windows.
|
|||
[![Unit Tests](https://github.com/BioJulia/SequenceVariation.jl/actions/workflows/UnitTests.yml/badge.svg?branch=master)](https://github.com/BioJulia/SequenceVariation.jl/actions/workflows/UnitTests.yml)
|
||||
[![Documentation](https://github.com/BioJulia/SequenceVariation.jl/workflows/Documentation/badge.svg?branch=master)](https://github.com/BioJulia/SequenceVariation.jl/actions?query=workflow%3ADocumentation+branch%3Amaster)
|
||||
[![codecov](https://codecov.io/gh/BioJulia/SequenceVariation.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/BioJulia/SequenceVariation.jl)
|
||||
[![Aqua QA](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl)
|
||||
|
||||
## Contributing
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ TODO now:
|
|||
* Add tests
|
||||
"""
|
||||
|
||||
using Aqua
|
||||
using BioAlignments
|
||||
using BioSequences
|
||||
using SequenceVariation
|
||||
|
@ -125,3 +126,16 @@ end
|
|||
# Test that out-of-bounds bases are still caught
|
||||
@test_throws BoundsError Variant(PairwiseAlignment(AlignedSequence(mutseq, Alignment("7=3X", 1, 1)), refseq))
|
||||
end
|
||||
|
||||
@testset "Aqua" begin
|
||||
Aqua.test_ambiguities(SequenceVariation;recursive=false)
|
||||
# TODO: Refactor `Edit` so that this test doesn't fail
|
||||
# TODO: This test _should_ be set to @test_fails, but Aqua's syntax doesn't allow that
|
||||
# Aqua.test_unbound_args(SequenceVariation)
|
||||
Aqua.test_undefined_exports(SequenceVariation)
|
||||
Aqua.test_piracy(SequenceVariation)
|
||||
Aqua.test_project_extras(SequenceVariation)
|
||||
Aqua.test_stale_deps(SequenceVariation)
|
||||
Aqua.test_deps_compat(SequenceVariation)
|
||||
Aqua.test_project_toml_formatting(SequenceVariation)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue