Convert hooks system to a middleware system (#2071) #968
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: [push, pull_request] | |
jobs: | |
dataplan_pg: | |
name: "@dataplan/pg tests" | |
uses: ./.github/workflows/test-base.yml | |
with: | |
prepackPackages: "{pg-sql2,tamedevil,@dataplan/pg}" | |
package: "@dataplan/pg" | |
testcommand: "test" | |
args: "--ci" | |
postgraphile_queries_v4: | |
name: PostGraphile v4 queries tests | |
uses: ./.github/workflows/test-base.yml | |
with: | |
prepackPackages: "{pg-sql2,tamedevil,postgraphile}" | |
package: "postgraphile" | |
testcommand: "test:operations:v4" | |
args: "--ci" | |
postgraphile_queries_v4_export_typeDefs: | |
name: PostGraphile v4 queries tests (exported as typeDefs) | |
uses: ./.github/workflows/test-base.yml | |
with: | |
prepackPackages: "{pg-sql2,tamedevil,postgraphile}" | |
package: "postgraphile" | |
testcommand: "test:operations:v4" | |
args: "--ci" | |
exportSchema: "typeDefs" | |
postgraphile_queries_v4_export_graphqljs: | |
name: PostGraphile v4 queries tests (exported as graphql-js) | |
uses: ./.github/workflows/test-base.yml | |
with: | |
prepackPackages: "{pg-sql2,tamedevil,postgraphile}" | |
package: "postgraphile" | |
testcommand: "test:operations:v4" | |
args: "--ci" | |
exportSchema: "graphql-js" | |
postgraphile_queries_polymorphic: | |
name: PostGraphile polymorphic query tests | |
uses: ./.github/workflows/test-base.yml | |
with: | |
prepackPackages: "{pg-sql2,tamedevil,postgraphile}" | |
package: "postgraphile" | |
testcommand: "test:operations:polymorphic_etc" | |
args: "--ci" | |
postgraphile_queries_polymorphic_export_typeDefs: | |
name: PostGraphile polymorphic query tests (exported as typeDefs) | |
uses: ./.github/workflows/test-base.yml | |
with: | |
prepackPackages: "{pg-sql2,tamedevil,postgraphile}" | |
package: "postgraphile" | |
testcommand: "test:operations:polymorphic_etc" | |
args: "--ci" | |
exportSchema: "typeDefs" | |
postgraphile_queries_polymorphic_export_graphqljs: | |
name: PostGraphile polymorphic query tests (exported as graphql-js) | |
uses: ./.github/workflows/test-base.yml | |
with: | |
prepackPackages: "{pg-sql2,tamedevil,postgraphile}" | |
package: "postgraphile" | |
testcommand: "test:operations:polymorphic_etc" | |
args: "--ci" | |
exportSchema: "graphql-js" | |
postgraphile_mutations: | |
name: PostGraphile mutation tests | |
uses: ./.github/workflows/test-base.yml | |
with: | |
prepackPackages: "{pg-sql2,tamedevil,postgraphile}" | |
package: "postgraphile" | |
testcommand: "test:operations:mutations" | |
args: "--ci" | |
postgraphile_mutations_export_typeDefs: | |
name: PostGraphile mutation tests (exported as typeDefs) | |
uses: ./.github/workflows/test-base.yml | |
with: | |
prepackPackages: "{pg-sql2,tamedevil,postgraphile}" | |
package: "postgraphile" | |
testcommand: "test:operations:mutations" | |
args: "--ci" | |
exportSchema: "typeDefs" | |
postgraphile_mutations_export_graphqljs: | |
name: PostGraphile mutation tests (exported as graphql-js) | |
uses: ./.github/workflows/test-base.yml | |
with: | |
prepackPackages: "{pg-sql2,tamedevil,postgraphile}" | |
package: "postgraphile" | |
testcommand: "test:operations:mutations" | |
args: "--ci" | |
exportSchema: "graphql-js" | |
postgraphile_schemas: | |
name: PostGraphile schema tests | |
uses: ./.github/workflows/test-base.yml | |
with: | |
prepackPackages: "{pg-sql2,tamedevil,postgraphile}" | |
package: "postgraphile" | |
testcommand: "test:schema" | |
args: "--ci" | |
small_packages: | |
name: Small package tests | |
uses: ./.github/workflows/test-base.yml | |
with: | |
prepackPackages: "{pg-sql2,tamedevil,@grafserv/persisted,@graphile/lru,@graphile/simplify-inflection,@localrepo/grafast-bench,@localrepo/grafast-website,grafast,graphile,graphile-config,graphile-utils,jest-serializer-graphql-schema,pg-introspection,grafserv}" | |
package: "{pg-sql2,tamedevil,@grafserv/persisted,@graphile/lru,@graphile/simplify-inflection,@localrepo/grafast-bench,@localrepo/grafast-website,grafast,graphile,graphile-config,graphile-utils,jest-serializer-graphql-schema,pg-introspection,grafserv}" | |
testcommand: "test" | |
args: "--ci" |