Skip to content

Commit

Permalink
Merge pull request #12 from control-toolbox/11-dev-add-aqua-and-blue-…
Browse files Browse the repository at this point in the history
…style

foo
  • Loading branch information
ocots authored Sep 6, 2024
2 parents bf855e6 + d2232fc commit 682f17a
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 13 deletions.
7 changes: 0 additions & 7 deletions .JuliaFormatter.toml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/Formatter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install JuliaFormatter and format
run: |
julia -e 'import Pkg; Pkg.add("JuliaFormatter")'
julia -e 'using JuliaFormatter; format(".")'
julia -e 'using JuliaFormatter; format(".", BlueStyle())'
# https://github.com/marketplace/actions/create-pull-request
# https://github.com/peter-evans/create-pull-request#reference-example
- name: Create Pull Request
Expand Down
3 changes: 3 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ name = "MedicalResonanceImaging"
uuid = "93e74489-f9a4-430a-8db2-2b89ccbb1b9e"
authors = ["Olivier Cots <[email protected]>"]
version = "0.1.6"

[compat]
julia = "1.10"
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,22 @@
[doc-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg
[doc-stable-url]: https://control-toolbox.org/medical_resonance_imaging/stable/

[licence-img]: https://img.shields.io/badge/License-MIT-yellow.svg
[licence-url]: https://github.com/control-toolbox/medical_resonance_imaging/blob/master/LICENSE

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

This repo 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.

[![doc OptimalControl.jl](https://img.shields.io/badge/Documentation-OptimalControl.jl-blue)](http://control-toolbox.org/OptimalControl.jl)

| **Documentation** | **Code Status** |
|:-------------------|:-----------------|
| [![Documentation][doc-stable-img]][doc-stable-url] [![Documentation][doc-dev-img]][doc-dev-url] | [![Build Status][ci-img]][ci-url] [![Covering Status][co-img]][co-url] |
| **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] [![Aqua.jl][aqua-img]][aqua-url] |
| Licence | [![License: MIT][licence-img]][licence-url] |

## Contributing

Expand Down
5 changes: 5 additions & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
Aqua = "0.8"
julia = "1.10"
5 changes: 3 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
using Test
using Aqua
using MedicalResonanceImaging
using Test

#
@testset verbose = true showtiming = true "Base" begin
for name (:default,)
for name (:aqua, :default)
@testset "$(name)" begin
test_name = Symbol(:test_, name)
include("$(test_name).jl")
Expand Down
13 changes: 13 additions & 0 deletions test/test_aqua.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
function test_aqua()
@testset "Aqua.jl" begin
Aqua.test_all(
MedicalResonanceImaging;
ambiguities=false,
#stale_deps=(ignore=[:SomePackage],),
deps_compat=(ignore=[:LinearAlgebra, :Unicode],),
piracies=true,
)
# do not warn about ambiguities in dependencies
Aqua.test_ambiguities(MedicalResonanceImaging)
end
end

0 comments on commit 682f17a

Please sign in to comment.