Skip to content

Commit

Permalink
Merge pull request #316 from DhairyaLGandhi/dg/tests
Browse files Browse the repository at this point in the history
Add NNlibCUDA to test deps
  • Loading branch information
DhairyaLGandhi authored Apr 27, 2021
2 parents b1633f5 + bceff97 commit a72e085
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
fail-fast: false
matrix:
version:
- '1.5' # Replace this with the minimum Julia version that your package supports.
- '1' # automatically expands to the latest stable 1.x release of Julia
- 'nightly'
os:
Expand Down
5 changes: 3 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,18 @@ Adapt = "2, 3.2"
ChainRulesCore = "0.9"
Compat = "3.14"
Requires = "0.5, 1.0"
julia = "1.5"
julia = "1.6"

[extras]
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
ChainRulesTestUtils = "cdddcdb0-9152-4a09-a978-84456f9df70a"
FiniteDifferences = "26cc04aa-876d-5657-8c51-4c34ba976000"
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
NNlibCUDA = "a00861dc-f156-4864-bf3c-e6376f28a68d"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

[targets]
test = ["ChainRulesTestUtils", "CUDA", "FiniteDifferences", "Logging", "Random", "StableRNGs", "Test", "Zygote"]
test = ["ChainRulesTestUtils", "CUDA", "FiniteDifferences", "Logging", "NNlibCUDA", "Random", "StableRNGs", "Test", "Zygote"]
1 change: 0 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ using CUDA
if VERSION >= v"1.6" && CUDA.functional()
if get(ENV, "NNLIB_TEST_CUDA", "false") == "true"
import Pkg
Pkg.develop(url = "https://github.com/FluxML/NNlibCUDA.jl")
using NNlibCUDA
@testset "CUDA" begin
Pkg.test("NNlibCUDA")
Expand Down

0 comments on commit a72e085

Please sign in to comment.