You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/qiita-ci.yml
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -223,8 +223,7 @@ jobs:
223
223
echo "###### postgres ######"
224
224
echo "######################"
225
225
pgport=${{ job.services.postgres.ports[5432] }}
226
-
227
-
row_counts=`psql -l 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');"`
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');"`
228
227
if [[ $row_counts != *" 0 "* ]]; then
229
228
echo "***********";
230
229
echo "There expected rows in a production system are not what's expected:";
0 commit comments