Skip to content

Commit

Permalink
Add Aqua to tests, fix detected issues (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
lostella committed Aug 19, 2023
1 parent 17b3e36 commit fc3b637
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 38 deletions.
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ uuid = "dc4f5ac2-75d1-4f31-931e-60435d74994b"
authors = ["Lorenzo Stella <lorenzostella@gmail.com>"]
version = "0.1.1"

[compat]
julia = "1.2"

[deps]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"

[compat]
julia = "1.2"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# ProximalCore.jl

[![Build status](https://github.com/JuliaFirstOrder/ProximalCore.jl/workflows/Test/badge.svg)](https://github.com/JuliaFirstOrder/ProximalCore.jl/actions?query=workflow%3ATest)
[![Aqua QA](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl)

Core definitions for the [ProximalOperators](https://github.com/JuliaFirstOrder/ProximalOperators.jl) and [ProximalAlgorithms](https://github.com/JuliaFirstOrder/ProximalAlgorithms.jl) ecosystem.
33 changes: 0 additions & 33 deletions test/Manifest.toml

This file was deleted.

1 change: 1 addition & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
5 changes: 3 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
using Test
using Aqua
using LinearAlgebra
using ProximalCore
using ProximalCore: prox, gradient, convex_conjugate
using ProximalCore: Zero, IndZero
import ProximalCore: prox!, is_convex, is_generalized_quadratic

@testset "Package sanity checks" begin
@test isempty(detect_unbound_args(ProximalCore))
@testset "Aqua" begin
Aqua.test_all(ProximalCore)
end

struct UnitInfNormBall end
Expand Down

0 comments on commit fc3b637

Please sign in to comment.