Skip to content

Commit

Permalink
Update ci-run-test-extensions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SunBeau authored Apr 28, 2024
1 parent 036ba63 commit 57d7447
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/ci-run-test-extensions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ jobs:
runs-on: ubuntu-latest
container:
image: docker.io/ubuntu:22.04
env:
TZ: Asia/Shanghai
DEBIAN_FRONTEND: noninteractive
volumes:
- ${{ github.workspace }}:${{ github.workspace }}

Expand All @@ -33,15 +30,16 @@ jobs:
- name: Intall Deps
run: |
apt-get update
apt-get install -y gcc make cmake autoconf sudo lsb-release curl ca-certificates
apt-get install -y gcc make cmake autoconf sudo lsb-release curl ca-certificates tzdata
- name: Install database
run: |
sudo install -d /usr/share/postgresql-common/pgdg
sudo curl -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc
sudo sh -c 'echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
sudo apt update
sudo apt -y install postgresql-15 libpq-dev
install -d /usr/share/postgresql-common/pgdg
curl -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc
sh -c 'echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
apt update
timedatectl set-timezone Asia/Shanghai
apt -y install postgresql-15 libpq-dev
- name: Start database
run: |
Expand Down

0 comments on commit 57d7447

Please sign in to comment.