Skip to content

Commit

Permalink
Merge pull request #184 from tpapp/tp/test_with_aqua
Browse files Browse the repository at this point in the history
test with Aqua, minor fixes
  • Loading branch information
tpapp authored Jun 8, 2023
2 parents fe9aa14 + fac5605 commit c88a4b3
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "DynamicHMC"
uuid = "bbc10e6e-7c05-544b-b16e-64fede858acb"
authors = ["Tamas K. Papp <tkpapp@gmail.com>"]
version = "3.4.5"
version = "3.4.6"

[deps]
ArgCheck = "dce04be8-c92d-5529-be00-80e4d2c0e197"
Expand All @@ -24,8 +24,8 @@ LogDensityProblems = "1, 2"
LogExpFunctions = "0.3"
MCMCDiagnosticTools = "0.2"
ProgressMeter = "1"
TensorCast = "0.4"
SimpleUnPack = "1"
TensorCast = "0.4"
julia = "1.6"

[extras]
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Implementation of robust dynamic Hamiltonian Monte Carlo methods in Julia.
[![Documentation](https://img.shields.io/badge/docs-stable-blue.svg)](https://tpapp.github.io/DynamicHMC.jl/stable)
[![Documentation](https://img.shields.io/badge/docs-master-blue.svg)](https://tpapp.github.io/DynamicHMC.jl/dev)
[![DOI](https://zenodo.org/badge/93741413.svg)](https://zenodo.org/badge/latestdoi/93741413)
[![Aqua QA](https://github.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl)

## Overview

Expand Down
2 changes: 1 addition & 1 deletion src/NUTS.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
##### NUTS tree sampler implementation.
#####

export TreeOptionsNUTS
export NUTS

####
#### Trajectory and implementation
Expand Down
1 change: 1 addition & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
ArgCheck = "dce04be8-c92d-5529-be00-80e4d2c0e197"
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
Expand Down
9 changes: 8 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,17 @@ include("test_logging.jl")
include("sample-correctness_tests.jl")

####
#### statis analysis
#### static analysis and QA
####

# do not test on older Julia versions and nightly
if VERSION >= v"1.7" && isempty(VERSION.prerelease)
include("jet.jl")
end

@testset "Aqua" begin
import Aqua
Aqua.test_all(DynamicHMC; ambiguities = false)
# testing separately, cf https://github.com/JuliaTesting/Aqua.jl/issues/77
Aqua.test_ambiguities(DynamicHMC)
end

2 comments on commit c88a4b3

@tpapp
Copy link
Owner Author

@tpapp tpapp commented on c88a4b3 Jun 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/85148

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v3.4.6 -m "<description of version>" c88a4b30c3e165445aadced0a50703d2fd9156fb
git push origin v3.4.6

Please sign in to comment.