Prepare for v0.45 release #113
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test-pgv15 | |
on: push | |
jobs: | |
runner-job: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
services: | |
# Label used to access the service container | |
postgres: | |
# Docker Hub image | |
image: postgres:15 | |
env: | |
POSTGRES_DB: pgeltestdb | |
POSTGRES_USER: pgeltestuser | |
POSTGRES_PASSWORD: pgeltest | |
# Set health checks to wait until postgres has started | |
options: >- | |
--health-cmd pg_isready | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
# would also like to pass -c ssl=on -c ssl_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem -c ssl_key_file=/etc/ssl/private/ssl-cert-snakeoil.key | |
ports: | |
# Maps tcp port 5432 on service container to the host | |
- 5432:5432 | |
volumes: | |
- /var/run/postgresql:/var/run/postgresql | |
steps: | |
# The version of Emacs available in the ancient Ubuntu distribution used by GitHub | |
# actions is too old. | |
- name: Install Emacs | |
uses: purcell/setup-emacs@master | |
with: | |
version: 29.3 | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Run connection tests over TCP socket | |
run: make -C test test | |
- name: Run connection tests over local Unix socket | |
run: make -C test test-local |