supercharge / mongodb-github-action

Use MongoDB in GitHub Actions
MIT License
222 stars 46 forks source link

Documentation: unclear on what address the mongodb is started #16

Closed glensc closed 3 years ago

glensc commented 3 years ago

What is the address of MongoDB? documentation only says port...

This GitHub Action starts a MongoDB server or MongoDB replica set on the default port 27017.

example failed run:

marcuspoehls commented 3 years ago

@glensc Hey Elan, the default MongoDB service is available on localhost:27017

glensc commented 3 years ago

Why is that job failing then? how to test the service booted up?

glensc commented 3 years ago

Nevermind then, using "services" which just works:

marcuspoehls commented 3 years ago

@glensc Sweet! Thank you for sharing your solution!