Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
carl-andersson committed Feb 11, 2025
1 parent 200a4aa commit eda0475
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/unittesting-pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,28 +32,19 @@ jobs:
image: postgres:13
ports:
- 5432:5432
environment:
env:
POSTGRES_USER: unittest_username
POSTGRES_PASSWORD: unittest_password
POSTGRES_DB: testdb
healthcheck:
test: ["CMD-SHELL", "pg_isready -U testuser"]
interval: 10s
timeout: 5s
retries: 5

mongo:
image: mongo:4.4
ports:
- 27017:27017
environment:
env:
MONGO_INITDB_ROOT_USERNAME: unittest_username
MONGO_INITDB_ROOT_PASSWORD: unittest_password
healthcheck:
test: ["CMD", "mongo", "--eval", "db.runCommand({ ping: 1 })"]
interval: 10s
timeout: 5s
retries: 5

steps:
- name: checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit eda0475

Please sign in to comment.