You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by al...@apache.org on 2023/05/09 22:08:32 UTC
[datasketches-postgresql] branch master updated: run tests as postgres user
This is an automated email from the ASF dual-hosted git repository.
alsay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/datasketches-postgresql.git
The following commit(s) were added to refs/heads/master by this push:
new c58fc2d run tests as postgres user
c58fc2d is described below
commit c58fc2d8daafe88ba11555c66bb9f5b3cdc04c38
Author: Alexander Saydakov <13...@users.noreply.github.com>
AuthorDate: Tue May 9 15:08:27 2023 -0700
run tests as postgres user
---
.github/workflows/c-cpp.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml
index a51057f..5ab3cca 100644
--- a/.github/workflows/c-cpp.yml
+++ b/.github/workflows/c-cpp.yml
@@ -29,5 +29,7 @@ jobs:
run: |
sudo systemctl start postgresql.service
pg_isready
+ - name: copy tests
+ run: cp -r test /tmp
- name: run tests
- run: make tests
+ run: sudo -u postgres for t in /tmp/test/*.sql; do psql test -f $t; done
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org