Merge pull request 'actions: services: cover the case when no container is specified' (#127) from earl-warren/end-to-end:wip-regression into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/127
This commit is contained in:
commit
d69a12b4af
1 changed files with 17 additions and 1 deletions
|
@ -2,7 +2,23 @@ on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
#
|
#
|
||||||
# No volume involved
|
# No volume involved & the container is implicit
|
||||||
|
#
|
||||||
|
simple-no-container:
|
||||||
|
runs-on: docker
|
||||||
|
services:
|
||||||
|
pgsql:
|
||||||
|
image: code.forgejo.org/oci/postgres:15
|
||||||
|
env:
|
||||||
|
POSTGRES_DB: test
|
||||||
|
POSTGRES_PASSWORD: postgres
|
||||||
|
steps:
|
||||||
|
- run: |
|
||||||
|
apt-get update -qq
|
||||||
|
apt-get install -y -qq postgresql-client
|
||||||
|
PGPASSWORD=postgres psql -h pgsql -U postgres -c '\dt' test
|
||||||
|
#
|
||||||
|
# No volume involved & the container is explicit
|
||||||
#
|
#
|
||||||
simple:
|
simple:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
|
Loading…
Add table
Reference in a new issue