Skip to content

Commit 82e677a

Browse files
authored
Add tests with Aqua.jl (#20)
* add tests with Aqua.jl * add badge for Aqua.jl
1 parent d4fdee0 commit 82e677a

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

Project.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
88
RealDot = "c1ae055f-0cd5-4b69-90a6-9a35b1a98df9"
99

1010
[compat]
11+
Aqua = "0.6"
1112
Quaternions = "0.7"
1213
RealDot = "0.1"
1314
julia = "1"
1415

1516
[extras]
17+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
1618
Quaternions = "94ee1d12-ae83-5a48-8b1c-48b8ff168ae0"
1719
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1820

1921
[targets]
20-
test = ["Quaternions", "Test"]
22+
test = ["Quaternions", "Test", "Aqua"]

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
[![Build Status](https://github.com/JuliaGeometry/Octonions.jl/workflows/CI/badge.svg)](https://github.com/JuliaGeometry/Octonions.jl/actions?query=workflow%3ACI+branch%3Amain)
66
[![Coverage](https://codecov.io/gh/JuliaGeometry/Octonions.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/JuliaGeometry/Octonions.jl)
77
[![ColPrac: Contributor's Guide on Collaborative Practices for Community Packages](https://img.shields.io/badge/ColPrac-Contributor's%20Guide-blueviolet)](https://github.com/SciML/ColPrac)
8+
[![Aqua QA](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl)

test/runtests.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
using Test
22
using Octonions
3+
using Aqua
4+
5+
Aqua.test_all(Octonions)
36

47
@testset "Octonions.jl" begin
58
include("helpers.jl")

0 commit comments

Comments
 (0)