Skip to content

Commit

Permalink
Remove postgres service from github action [Resolves #899]
Browse files Browse the repository at this point in the history
`testing.postgresql` runs `initdb` locally. The postgres service doesn't get used.
  • Loading branch information
jtwalsh0 committed Jun 5, 2022
1 parent ab052a7 commit afc8ea3
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,7 @@ on: [push]

jobs:
build:

runs-on: ubuntu-latest
services:
# Label used to access the service container
postgres:
# Docker Hub image
image: postgres
# Provide the password for postgres
env:
POSTGRES_PASSWORD: postgres
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10']
Expand Down

0 comments on commit afc8ea3

Please sign in to comment.