Skip to content

Commit

Permalink
test connection
Browse files Browse the repository at this point in the history
  • Loading branch information
levkk committed Oct 26, 2024
1 parent 056368b commit c1add58
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ jobs:
override: true
- name: Setup PostgreSQL
run: |
sudo service postgresql start
echo "host all all 127.0.0.1/32 trust" | sudo tee -a /etc/postgresql/14/main/pg_hba.conf
sudo service postgresql restart
sudo -u postgres createuser --superuser --login $USER
createdb $USER
echo "host all all 127.0.0.1/32 trust" | sudo tee -a /etc/postgresql/14/main/pg_hba.conf
psql postgres://$USER@127.0.0.1:5432/$USER -c "SELECT 1" > /dev/null
- name: Build
run: cargo build
- name: Format
Expand Down

0 comments on commit c1add58

Please sign in to comment.