Skip to content

CI: fix use of set-timezone GH action #126

CI: fix use of set-timezone GH action

CI: fix use of set-timezone GH action #126

Workflow file for this run

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:
TZ: Asia/Kolkata
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
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.4
- name: Check out repository code
uses: actions/checkout@v4
- name: Run tests over TCP socket
run: make -C test test
env:
TZ: Asia/Kolkata
- name: Run tests over local Unix socket
run: make -C test test-local
env:
TZ: Asia/Kolkata