1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-forgejo synced 2025-03-17 23:44:07 +01:00
setup-forgejo/testdata/example-service/.forgejo/workflows/test.yml
2023-05-29 16:36:00 +02:00

19 lines
395 B
YAML

on: [push]
jobs:
test:
runs-on: ubuntu-latest
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