Add examples to CI (#714)

This commit is contained in:
Christian Legnitto 2020-07-20 21:38:22 -10:00 committed by GitHub
parent de8b2af0d7
commit 4647a32b33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 52 additions and 5 deletions

View file

@ -4,6 +4,9 @@ members = [
"juniper_benchmarks",
"juniper_codegen",
"juniper",
"examples/basic_subscriptions",
"examples/warp_async",
"examples/warp_subscriptions",
"integration_tests/juniper_tests",
"integration_tests/async_await",
"integration_tests/codegen_fail",
@ -17,7 +20,4 @@ members = [
]
exclude = [
"docs/book/tests",
"examples/basic_subscriptions",
"examples/warp_async",
"examples/warp_subscriptions",
]

View file

@ -2,6 +2,7 @@
name = "basic_subscriptions"
version = "0.1.0"
edition = "2018"
publish = false
authors = ["Jordao Rosario <jordao.rosario01@gmail.com>"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View file

@ -0,0 +1,15 @@
[tasks.run]
disabled = true
[tasks.release]
disabled = true
[tasks.release-some]
disabled = true
[tasks.release-local-test]
disabled = true
[tasks.release-some-local-test]
disabled = true
[tasks.release-dry-run]
disabled = true
[tasks.release-some-dry-run]
disabled = true

View file

@ -2,6 +2,7 @@
name = "warp_async"
version = "0.1.0"
edition = "2018"
publish = false
authors = ["Christoph Herzog <chris@theduke.at>"]
[dependencies]

View file

@ -0,0 +1,15 @@
[tasks.run]
disabled = true
[tasks.release]
disabled = true
[tasks.release-some]
disabled = true
[tasks.release-local-test]
disabled = true
[tasks.release-some-local-test]
disabled = true
[tasks.release-dry-run]
disabled = true
[tasks.release-some-dry-run]
disabled = true

View file

@ -2,8 +2,7 @@
name = "warp_subscriptions"
version = "0.1.0"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
publish = false
[dependencies]
env_logger = "0.6.2"

View file

@ -0,0 +1,15 @@
[tasks.run]
disabled = true
[tasks.release]
disabled = true
[tasks.release-some]
disabled = true
[tasks.release-local-test]
disabled = true
[tasks.release-some-local-test]
disabled = true
[tasks.release-dry-run]
disabled = true
[tasks.release-some-dry-run]
disabled = true

View file

@ -2,6 +2,7 @@
name = "async_await"
version = "0.1.0"
authors = ["Christoph Herzog <chris@theduke.at>"]
publish = false
edition = "2018"
[dependencies]