Skip to content

Commit

Permalink
instal postgres 14 in test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Hlamallama committed Jan 11, 2024
1 parent 33f9414 commit 649540b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
python-version: 3.7.7
- name: Install dependencies
run: |
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O /usr/share/keyrings/postgresql-archive-keyring.gpg https://www.postgresql.org/media/keys/ACCC4CF8.asc
echo "signed-by=/usr/share/keyrings/postgresql-archive-keyring.gpg" > /etc/apt/sources.list.d/pgdg.gpg
apt-get update
apt-get -y install postgresql-14
sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
sudo wget --quiet -O /usr/share/keyrings/postgresql-archive-keyring.gpg https://www.postgresql.org/media/keys/ACCC4CF8.asc
echo "signed-by=/usr/share/keyrings/postgresql-archive-keyring.gpg" | sudo tee /etc/apt/sources.list.d/pgdg.gpg > /dev/null
sudo apt-get update
sudo apt-get -y install postgresql-14
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
Expand Down

0 comments on commit 649540b

Please sign in to comment.