Skip to content

Commit 2429b15

Browse files
committed
-h localhost
1 parent bb9098c commit 2429b15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/qiita-ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,8 @@ jobs:
223223
echo "###### postgres ######"
224224
echo "######################"
225225
pgport=${{ job.services.postgres.ports[5432] }}
226-
row_counts=`psql -U postgres -d qiita_test -p $pgport -c "SELECT SUM(c.reltuples) FROM pg_class c JOIN pg_namespace n on n.oid = c.relnamespace WHERE n.nspname = 'qiita' AND c.relkind = 'r' AND n.nspname NOT IN ('information_schema', 'pg_catalog');"`
226+
227+
row_counts=`psql -h localhost -U postgres -d qiita_test -p $pgport -c "SELECT SUM(c.reltuples) FROM pg_class c JOIN pg_namespace n on n.oid = c.relnamespace WHERE n.nspname = 'qiita' AND c.relkind = 'r' AND n.nspname NOT IN ('information_schema', 'pg_catalog');"`
227228
if [[ $row_counts != *" 0 "* ]]; then
228229
echo "***********";
229230
echo "There expected rows in a production system are not what's expected:";

0 commit comments

Comments
 (0)