Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
submarcos committed Jun 25, 2024
1 parent 730c4aa commit 9d6d851
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,25 @@ env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
CI: false
POSTGRES_DB: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres

jobs:
services:
postgres:
image: postgis/postgis:16-3.4
ports:
- 5432:5432
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
python-unittests:
name: Python Unit tests
runs-on: ubuntu-latest
env:
POSTGRES_DB: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres

services:
postgres:
image: postgis/postgis:16-3.4
ports:
- 5432:5432
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down

0 comments on commit 9d6d851

Please sign in to comment.