Skip to content

Commit

Permalink
Fix connection for mongo
Browse files Browse the repository at this point in the history
  • Loading branch information
michalspano committed Nov 1, 2023
1 parent 44af4ae commit 83b8d4a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on: [push]
jobs:
setup:
runs-on: ubuntu-latest
services:
mongo:
image: mvertes/alpine-mongo:latest
options: --health-cmd "mongo --eval 'db.runCommand({ connectionStatus: 1 })'"
env:
MONGODB_URI: "mongodb:https://localhost:27017/serverTestDB"
steps:
Expand Down

0 comments on commit 83b8d4a

Please sign in to comment.