Skip to content

Workflow file for this run

name: Atlas Service Example
on: push
jobs:
runner-job:
runs-on: ubuntu-latest
services:
atlas:
image: "mongodb/apix_test:atlasdocker"
ports:
- 27017:27017
steps:
- name: test
run: |
wget https://downloads.mongodb.com/compass/mongodb-mongosh_2.1.3_amd64.deb
sudo apt install ./mongodb-mongosh-*.deb
mongosh "mongodb://localhost:27017?directConnection=true" --eval 'db.adminCommand("ping")'