Skip to content

Commit 4647a32

Browse files
authored
Add examples to CI (#714)
1 parent de8b2af commit 4647a32

File tree

8 files changed

+52
-5
lines changed

8 files changed

+52
-5
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ members = [
44
"juniper_benchmarks",
55
"juniper_codegen",
66
"juniper",
7+
"examples/basic_subscriptions",
8+
"examples/warp_async",
9+
"examples/warp_subscriptions",
710
"integration_tests/juniper_tests",
811
"integration_tests/async_await",
912
"integration_tests/codegen_fail",
@@ -17,7 +20,4 @@ members = [
1720
]
1821
exclude = [
1922
"docs/book/tests",
20-
"examples/basic_subscriptions",
21-
"examples/warp_async",
22-
"examples/warp_subscriptions",
2323
]

examples/basic_subscriptions/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "basic_subscriptions"
33
version = "0.1.0"
44
edition = "2018"
5+
publish = false
56
authors = ["Jordao Rosario <[email protected]>"]
67

78
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[tasks.run]
2+
disabled = true
3+
4+
[tasks.release]
5+
disabled = true
6+
[tasks.release-some]
7+
disabled = true
8+
[tasks.release-local-test]
9+
disabled = true
10+
[tasks.release-some-local-test]
11+
disabled = true
12+
[tasks.release-dry-run]
13+
disabled = true
14+
[tasks.release-some-dry-run]
15+
disabled = true

examples/warp_async/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "warp_async"
33
version = "0.1.0"
44
edition = "2018"
5+
publish = false
56
authors = ["Christoph Herzog <[email protected]>"]
67

78
[dependencies]

examples/warp_async/Makefile.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[tasks.run]
2+
disabled = true
3+
4+
[tasks.release]
5+
disabled = true
6+
[tasks.release-some]
7+
disabled = true
8+
[tasks.release-local-test]
9+
disabled = true
10+
[tasks.release-some-local-test]
11+
disabled = true
12+
[tasks.release-dry-run]
13+
disabled = true
14+
[tasks.release-some-dry-run]
15+
disabled = true

examples/warp_subscriptions/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
name = "warp_subscriptions"
33
version = "0.1.0"
44
edition = "2018"
5-
6-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
5+
publish = false
76

87
[dependencies]
98
env_logger = "0.6.2"
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[tasks.run]
2+
disabled = true
3+
4+
[tasks.release]
5+
disabled = true
6+
[tasks.release-some]
7+
disabled = true
8+
[tasks.release-local-test]
9+
disabled = true
10+
[tasks.release-some-local-test]
11+
disabled = true
12+
[tasks.release-dry-run]
13+
disabled = true
14+
[tasks.release-some-dry-run]
15+
disabled = true

integration_tests/async_await/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "async_await"
33
version = "0.1.0"
44
authors = ["Christoph Herzog <[email protected]>"]
5+
publish = false
56
edition = "2018"
67

78
[dependencies]

0 commit comments

Comments
 (0)