File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2121 ports :
2222 - 5432:5432
2323 env :
24- GS_USERNAME : ${{ secrets.OPENGAUSS_USERNAME }}
24+ GS_USERNAME : root
2525 GS_USER_PASSWORD : ${{ secrets.OPENGAUSS_PASSWORD }}
2626 GS_PASSWORD : ${{ secrets.OPENGAUSS_PASSWORD }}
2727 options : >-
@@ -72,10 +72,10 @@ jobs:
7272 run : |
7373 source venv/bin/activate
7474 for i in {1..15}; do
75- pg_isready -h localhost -p 5432 -U ${{ secrets.OPENGAUSS_USERNAME }} && break
75+ pg_isready -h localhost -p 5432 -U root && break
7676 sleep 5
7777 done
78- if ! pg_isready -h localhost -p 5432 -U ${{ secrets.OPENGAUSS_USERNAME }} ; then
78+ if ! pg_isready -h localhost -p 5432 -U root ; then
7979 echo "openGauss is not ready"
8080 exit 1
8181 fi
9292 env :
9393 PYTHONPATH : ./psycopg:./psycopg_pool
9494 PSYCOPG_IMPL : python
95- PSYCOPG_TEST_DSN : " host=127.0.0.1 port=5432 dbname=test user=${{ secrets.OPENGAUSS_USERNAME }} password=${{ secrets.OPENGAUSS_PASSWORD }} "
95+ PSYCOPG_TEST_DSN : " host=127.0.0.1 port=5432 dbname=test user=root password=${{ secrets.OPENGAUSS_PASSWORD }} "
9696 run : |
9797 source venv/bin/activate
9898 pytest -s -v
You can’t perform that action at this time.
0 commit comments