diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5f8d11d4..50e08205 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,10 @@ jobs: services: mongo: - image: mongo + image: mongo:4.4.4 + env: + MONGO_INITDB_ROOT_USERNAME: mongoadmin + MONGO_INITDB_ROOT_PASSWORD: mongoadmin options: >- --health-cmd "echo 'db.stats().ok' | mongo localhost:27017/mongoadmin --quiet" --health-interval 10s