diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c2df725d..50e0eee2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: services: mongo: - image: mvertes/alpine-mongo + image: mongo:4.2 ports: - 27017:27017 diff --git a/Makefile b/Makefile index 7efd6c1a..899b6a59 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ format: isort-src isort-docs test: docker stop $(MONGODB_CONTAINER_NAME) || true - docker run -d --rm --name $(MONGODB_CONTAINER_NAME) -p 27017:27017 mvertes/alpine-mongo + docker run -d --rm --name $(MONGODB_CONTAINER_NAME) -p 27017:27017 mongo:4.2 $(PIPENV_RUN) pytest --cov=fastapi_users/ --cov-report=term-missing docker stop $(MONGODB_CONTAINER_NAME)