Skip to content

Commit

Permalink
ci: Fix purge pg error
Browse files Browse the repository at this point in the history
  • Loading branch information
erayhanoglu committed Dec 7, 2024
1 parent ce0306a commit 0c69a55
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [ '16', '18', '20', '21', '22' ]
postgres: [ '12', '13', '14', '15', '16', '17' ]
node: [ '18' ]
postgres: [ '16' ]
runs-on: ubuntu-latest
services:
postgres:
Expand All @@ -32,6 +32,7 @@ jobs:
run: |
date
echo "----- Removing pre-installed PostgreSQL -----"
psql --version # Check version to confirm
sudo apt purge postgresql-14
echo "----- Installing PostgreSQL ${{ matrix.postgres }} -----"
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
Expand Down

0 comments on commit 0c69a55

Please sign in to comment.