Skip to content

Commit

Permalink
Using ChainRulesTestUtils.jl as a test dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mattBrzezinski committed Feb 7, 2020
1 parent fee130d commit 395ba0c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 188 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
Manifest.toml
docs/build
docs/site
.idea/*
6 changes: 4 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "ChainRules"
uuid = "082447d4-558c-5d27-93f4-14fc19e9eca2"
version = "0.3.3"
version = "0.3.4"

[deps]
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
Expand All @@ -11,17 +11,19 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"

[compat]
ChainRulesCore = "0.6.1"
ChainRulesTestUtils = "0.1.3"
FiniteDifferences = "^0.7"
Reexport = "0.2"
Requires = "0.5.2, 1"
julia = "^1.0"

[extras]
ChainRulesTestUtils = "cdddcdb0-9152-4a09-a978-84456f9df70a"
FiniteDifferences = "26cc04aa-876d-5657-8c51-4c34ba976000"
NaNMath = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["FiniteDifferences", "NaNMath", "Random", "SpecialFunctions", "Test"]
test = ["ChainRulesTestUtils", "FiniteDifferences", "NaNMath", "Random", "SpecialFunctions", "Test"]
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
using Base.Broadcast: broadcastable
using ChainRules
using ChainRulesCore
using ChainRulesTestUtils
using ChainRulesTestUtils: _fdm
using FiniteDifferences
using LinearAlgebra
using LinearAlgebra.BLAS
Expand All @@ -11,8 +13,6 @@ using Test

Random.seed!(1) # Set seed that all testsets should reset to.

include("test_util.jl")

println("Testing ChainRules.jl")
@testset "ChainRules" begin
include("helper_functions.jl")
Expand Down
184 changes: 0 additions & 184 deletions test/test_util.jl

This file was deleted.

2 comments on commit 395ba0c

@mattBrzezinski
Copy link
Member Author

Choose a reason for hiding this comment

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

@JuliaRegistrator register()

@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/9021

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 Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.4 -m "<description of version>" 395ba0c7bf1390bd273c5cc5a691b5d5e5bb27f5
git push origin v0.3.4

Please sign in to comment.