We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c16a53 commit 5d58c5fCopy full SHA for 5d58c5f
.github/workflows/start_local_atlas.sh
@@ -3,7 +3,7 @@ set -eu
3
4
echo "Starting the container"
5
6
-IMAGE=mongodb/mongodb-atlas-local:latest
+IMAGE=${1:-mongodb/mongodb-atlas-local:latest}
7
DOCKER=$(which docker || which podman)
8
9
$DOCKER pull $IMAGE
.github/workflows/test-python-atlas.yml
@@ -51,6 +51,6 @@ jobs:
51
run: cp .github/workflows/runtests.py django_repo/tests/runtests_.py
52
- name: Start local Atlas
53
working-directory: .
54
- run: bash .github/workflows/start_local_atlas.sh
+ run: bash .github/workflows/start_local_atlas.sh mongodb/mongodb-atlas-local:7
55
- name: Run tests
56
run: python3 django_repo/tests/runtests_.py
0 commit comments