Skip to content

Commit

Permalink
Merge pull request #63 from control-toolbox/62-dev-update-aqua-tests
Browse files Browse the repository at this point in the history
up aqua tests
  • Loading branch information
ocots authored Aug 29, 2024
2 parents 8417e4e + 96d3531 commit 8ccf20c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 18 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
[licence-img]: https://img.shields.io/badge/License-MIT-yellow.svg
[licence-url]: https://github.com/control-toolbox/CTFlows.jl/blob/master/LICENSE

[aqua-img]: https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg
[aqua-url]: https://github.com/JuliaTesting/Aqua.jl

The CTFlows.jl package is part of the [control-toolbox ecosystem](https://github.com/control-toolbox).
The control-toolbox ecosystem gathers Julia packages for mathematical control and applications. The root package is [OptimalControl.jl](https://github.com/control-toolbox/OptimalControl.jl) which aims to provide tools to modelise and solve optimal control problems with ordinary differential equations by direct and indirect methods.

Expand All @@ -32,7 +35,7 @@ The control-toolbox ecosystem gathers Julia packages for mathematical control an
| **Name** | **Badge** |
:-------------------|:------------------|
| Documentation | [![Documentation][doc-stable-img]][doc-stable-url] [![Documentation][doc-dev-img]][doc-dev-url] |
| Code Status | [![Build Status][ci-img]][ci-url] [![Covering Status][co-img]][co-url] [![pkgeval][pkg-eval-img]][pkg-eval-url] |
| Code Status | [![Build Status][ci-img]][ci-url] [![Covering Status][co-img]][co-url] [![pkgeval][pkg-eval-img]][pkg-eval-url] [![Aqua.jl][aqua-img]][aqua-url] |
| Dependencies | [![deps][deps-img]][deps-url] |
| Licence | [![License: MIT][licence-img]][licence-url] |
| Release | [![Release][release-img]][release-url] |
Expand Down
4 changes: 1 addition & 3 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
CTBase = "54762871-cc72-4466-b8e8-f6c8b58076cd"
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
Expand Down
2 changes: 0 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Aqua
using ForwardDiff
using StaticArrays

using Test
using CTFlows
Expand Down
15 changes: 3 additions & 12 deletions test/test_aqua.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,12 @@ function test_aqua()
@testset "Aqua.jl" begin
Aqua.test_all(
CTFlows;
ambiguities = (
exclude = [
ForwardDiff.:(==),
ForwardDiff.:(^),
ForwardDiff.convert,
ForwardDiff.Dual,
ForwardDiff.log,
ForwardDiff.promote_rule,
StaticArrays.getindex,
],
broken = true,
),
ambiguities=false,
#stale_deps=(ignore=[:SomePackage],),
deps_compat = (ignore = [:LinearAlgebra, :Unicode],),
piracies = true,
)
# do not warn about ambiguities in dependencies
Aqua.test_ambiguities(CTFlows)
end
end

0 comments on commit 8ccf20c

Please sign in to comment.