From ac132a6a57bf3cca56e4ea139e0a1a9e77bdf027 Mon Sep 17 00:00:00 2001 From: steve-chavez Date: Mon, 25 Sep 2023 18:59:38 -0300 Subject: [PATCH] comment both graphql and jsonschema --- flake.nix | 7 ++++--- tests/prime.sql | 6 ++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index 1ff672c..5d62db1 100644 --- a/flake.nix +++ b/flake.nix @@ -94,9 +94,9 @@ ./ext/pg_net.nix ./ext/pg_hashids.nix ./ext/pgsodium.nix - ./ext/pg_graphql.nix + #./ext/pg_graphql.nix ./ext/pg_stat_monitor.nix - ./ext/pg_jsonschema.nix + #./ext/pg_jsonschema.nix ./ext/vault.nix ./ext/hypopg.nix ./ext/pg_tle.nix @@ -333,7 +333,8 @@ createdb -h localhost testing psql -h localhost -d testing -Xaf ${./tests/prime.sql} - pg_prove -h localhost -d testing ${sqlTests}/*.sql + shopt -s extglob + pg_prove -h localhost -d testing ${sqlTests}/!(*graphql*).sql pkill postgres mv logfile $out diff --git a/tests/prime.sql b/tests/prime.sql index ca62940..9b33218 100644 --- a/tests/prime.sql +++ b/tests/prime.sql @@ -16,7 +16,9 @@ CREATE EXTENSION IF NOT EXISTS pgroonga; CREATE EXTENSION IF NOT EXISTS wrappers; CREATE EXTENSION IF NOT EXISTS http; -CREATE EXTENSION IF NOT EXISTS pg_graphql; -CREATE EXTENSION IF NOT EXISTS pg_jsonschema; +/* + *CREATE EXTENSION IF NOT EXISTS pg_graphql; + *CREATE EXTENSION IF NOT EXISTS pg_jsonschema; + */ CREATE EXTENSION IF NOT EXISTS citus;