Skip to content

Commit

Permalink
alter postgresql create db command in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
voidZXL committed Dec 20, 2024
1 parent d0d5f2e commit fe713a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,7 @@ jobs:
echo "Waiting for PostgreSQL to be ready..."
sleep 5
done
sudo -i -u postgres psql -c 'create utilmeta_test_ops_db;'
sudo -i -u postgres psql -c 'grant all privileges on database utilmeta_test_ops_db to test_user;'
PGPASSWORD=test-tmp-password psql -h localhost -p 5432 -U test_user -c "CREATE DATABASE utilmeta_test_ops_db;"
- name: Wait for MySQL
run: |
Expand Down

0 comments on commit fe713a7

Please sign in to comment.