Skip to content

Commit

Permalink
ci: enable integration test for MongoDB Atlas #35
Browse files Browse the repository at this point in the history
  • Loading branch information
TillaTheHun0 committed Jun 14, 2023
1 parent 11c74e6 commit adc65c1
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/test-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
env:
CI: true

# Run the test suite against a Mongo Instance Self Hosted
# using the mongodb: protocol
#
# This is meant to represent a self-hosted instance of MongoDB
test-native-integration-self-hosted:
runs-on: ubuntu-latest
strategy:
Expand All @@ -46,6 +50,7 @@ jobs:
with:
deno-version: ${{ matrix.deno-version }}

# Start a Mongo Instance in the local CI runner environment
- name: Start MongoDB
uses: supercharge/[email protected]
with:
Expand All @@ -58,9 +63,11 @@ jobs:
CI: true
MONGO_URL: mongodb://127.0.0.1:27017

# Run the test suite against a Mongo Instance Deployed on MongoDB Atlas
# a common hosting platform for MongoDB.
#
# The main distinction is that MongoDB Atlas uses the mongodb+srv: protocol
test-native-integration-atlas:
# Skip for now until the integration suite is done
if: false
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down

0 comments on commit adc65c1

Please sign in to comment.