mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-24 06:00:57 -05:00
19 lines
388 B
YAML
19 lines
388 B
YAML
on: [push]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: docker
|
|
|
|
services:
|
|
pgsql:
|
|
image: postgres:15
|
|
env:
|
|
POSTGRES_DB: test
|
|
POSTGRES_PASSWORD: postgres
|
|
ports:
|
|
- "5432:5432"
|
|
steps:
|
|
- run: |
|
|
apt-get update -qq
|
|
apt-get install -y -qq postgresql-client-11
|
|
PGPASSWORD=postgres psql -h pgsql -U postgres -c '\dt' test
|