mirror of
https://github.com/xbgmsharp/postgsail.git
synced 2025-09-17 03:07:47 +00:00
Update github actions
This commit is contained in:
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
@@ -26,10 +26,10 @@ jobs:
|
||||
|
||||
- name: Run PostgSail
|
||||
# Environment variables
|
||||
#env:
|
||||
env:
|
||||
# # The hostname used to communicate with the PostgreSQL service container
|
||||
# POSTGRES_HOST: localhost
|
||||
# POSTGRES_PORT: 5432
|
||||
POSTGRES_HOST: localhost
|
||||
POSTGRES_PORT: 5432
|
||||
# POSTGRES_USER: username
|
||||
# POSTGRES_PASSWORD: password
|
||||
run: |
|
||||
@@ -41,7 +41,7 @@ jobs:
|
||||
docker-compose ps -a
|
||||
echo ${PGSAIL_API_URL}
|
||||
curl ${PGSAIL_API_URL}
|
||||
if psql -c "select 1"
|
||||
if psql -c "select 1;"
|
||||
then
|
||||
echo "Test PostgreSQL"
|
||||
psql -c "SELECT version();"
|
||||
|
Reference in New Issue
Block a user