We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5762cd6 commit 6a36864Copy full SHA for 6a36864
1 file changed
.github/workflows/test.yml
@@ -128,6 +128,23 @@ jobs:
128
pip install distributed joblib
129
pip install --only-binary :all: matplotlib
130
131
+ - name: Start MongoDB
132
+ if: ${{ ! matrix.runs_on }} # only under linux/ubuntu
133
+ uses: supercharge/mongodb-github-action@1.12.1 # uses latest mongodb per default
134
+
135
+ - name: Install pymongo package
136
137
+ run: pip install pymongo
138
139
+ - name: Try to connect to mongodb
140
141
+ run: |
142
+ python3 <<EOF
143
+ from pymongo import MongoClient
144
+ client = MongoClient('mongodb://localhost:27017/',serverSelectionTimeoutMS=1)
145
+ print(client.server_info())
146
+ EOF
147
148
- name: Show environment
149
run: pip freeze
150
0 commit comments