diff --git a/.github/workflows/_test.yml b/.github/workflows/_test.yml index 8ba42a2..68bbee0 100644 --- a/.github/workflows/_test.yml +++ b/.github/workflows/_test.yml @@ -48,9 +48,11 @@ jobs: make test - name: Start local Atlas + working-directory: . run: bash scripts/start_local_atlas.sh - name: Get MongoDB URI + working-directory: . run: cat .local_atlas_uri >> $GITHUB_ENV - name: Run integration tests diff --git a/scripts/start_local_atlas.sh b/scripts/start_local_atlas.sh index a2d5fb6..220f017 100644 --- a/scripts/start_local_atlas.sh +++ b/scripts/start_local_atlas.sh @@ -1,3 +1,6 @@ +#!/bin/bash +set -eu + echo "Starting the container" IMAGE=artifactory.corp.mongodb.com/dockerhub/mongodb/mongodb-atlas-local:latest