Skip to content

Commit 0a52750

Browse files
introduce workspace
1 parent 5c241de commit 0a52750

6 files changed

Lines changed: 16 additions & 17 deletions

File tree

.github/workflows/test_GNNGraphs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ jobs:
1515
matrix:
1616
version:
1717
- '1.10' # Replace this with the minimum Julia version that your package supports.
18-
# - '1' # '1' will automatically expand to the latest stable 1.x release of Julia.
18+
- '1' # '1' will automatically expand to the latest stable 1.x release of Julia.
1919
# - 'pre'
2020
os:
2121
- ubuntu-latest
22+
# - windows-latest
23+
# - macos-latest
2224
arch:
2325
- x64
2426

.github/workflows/test_GNNlib.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ jobs:
1515
matrix:
1616
version:
1717
- '1.10' # Replace this with the minimum Julia version that your package supports.
18-
# - '1' # '1' will automatically expand to the latest stable 1.x release of Julia.
18+
- '1' # '1' will automatically expand to the latest stable 1.x release of Julia.
1919
# - 'pre'
2020
os:
2121
- ubuntu-latest
22+
# - windows-latest
23+
# - macos-latest
2224
arch:
2325
- x64
2426

GNNGraphs/Project.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name = "GNNGraphs"
22
uuid = "aed8fd31-079b-4b5a-b342-a13352159b8c"
3-
authors = ["Carlo Lucibello and contributors"]
43
version = "1.4.2"
4+
authors = ["Carlo Lucibello and contributors"]
5+
6+
[workspace]
7+
projects = ["test", "docs"]
58

69
[deps]
710
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
@@ -10,7 +13,6 @@ Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
1013
KrylovKit = "0b1a1467-8014-51b9-945f-bf0ae24f4b77"
1114
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1215
MLDataDevices = "7e8f7934-dd98-4c1a-8fe8-92b47a384d40"
13-
MLDatasets = "eb30cadb-4394-5ae3-aed4-317e484a6458"
1416
MLUtils = "f1d291b0-491e-4a28-83b9-f70985020b54"
1517
NNlib = "872c559c-99b0-510c-b3b7-b6c96a88d5cd"
1618
NearestNeighbors = "b8a86587-4115-5ab1-83bc-aa920d37bbce"
@@ -35,7 +37,6 @@ Graphs = "1.4"
3537
KrylovKit = "0.8, 0.9"
3638
LinearAlgebra = "1"
3739
MLDataDevices = "1.0"
38-
MLDatasets = "0.7.18"
3940
MLUtils = "0.4"
4041
NNlib = "0.9"
4142
NearestNeighbors = "0.4"

GNNGraphs/test/Project.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[deps]
2+
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
23
FiniteDifferences = "26cc04aa-876d-5657-8c51-4c34ba976000"
34
Functors = "d9f16b24-f501-4c13-a1f2-28368ffc5196"
45
GNNGraphs = "aed8fd31-079b-4b5a-b342-a13352159b8c"
@@ -19,3 +20,7 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1920
TestItemRunner = "f8b46487-2199-4994-9208-9a1283c18c0a"
2021
TestItems = "1c621080-faea-4a02-84b6-bbd5e436b8fe"
2122
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
23+
cuDNN = "02a925ec-e4fe-4b08-9a7e-0d78e3d38ccd"
24+
25+
[sources]
26+
GNNGraphs = {path = ".."}

GNNGraphs/test/runtests.jl

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
1-
## The test environment is instantiated as follows:
2-
# using Pkg
3-
# Pkg.activate(@__DIR__)
4-
# Pkg.develop(path=joinpath(@__DIR__, ".."))
5-
# Pkg.instantiate()
6-
71
using TestItemRunner
82

93
## See https://www.julia-vscode.org/docs/stable/userguide/testitems/
104
## for how to run the tests within VS Code.
115
## See test_module.jl for the test infrastructure.
126

13-
## Uncomment below and in test_module.jl to change the default test settings
7+
## Uncomment below to change the default test settings
148
# ENV["GNN_TEST_CPU"] = "false"
159
# ENV["GNN_TEST_CUDA"] = "true"
1610
# ENV["GNN_TEST_AMDGPU"] = "true"

GNNGraphs/test/test_module.jl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22

33
using Pkg
44

5-
## Uncomment below to change the default test settings
6-
# ENV["GNN_TEST_CUDA"] = "true"
7-
# ENV["GNN_TEST_AMDGPU"] = "true"
8-
# ENV["GNN_TEST_Metal"] = "true"
9-
105
to_test(backend) = get(ENV, "GNN_TEST_$(backend)", "false") == "true"
116
has_dependecies(pkgs) = all(pkg -> haskey(Pkg.project().dependencies, pkg), pkgs)
127
deps_dict = Dict(:CUDA => ["CUDA", "cuDNN"], :AMDGPU => ["AMDGPU"], :Metal => ["Metal"])

0 commit comments

Comments
 (0)