Skip to content

Commit 642645b

Browse files
committed
fix: try psql from ppa
1 parent c1c9601 commit 642645b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,13 @@ jobs:
9797
-p ${{ env.POSTGRES_PORT }}:5432 \
9898
--name supabase_postgres \
9999
-d supabase/postgres:${{ steps.settings.outputs.postgres-version }}
100+
100101
- name: Install psql
101102
run: |
102-
sudo nix profile install .#psql_${{ env.PGMAJOR }}/bin
103+
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
104+
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
105+
sudo apt update
106+
sudo apt install -y --no-install-recommends postgresql-client-${{ env.PGMAJOR }}
103107
104108
- name: Install pg_prove
105109
run: sudo cpan -T TAP::Parser::SourceHandler::pgTAP

0 commit comments

Comments
 (0)