Skip to content

chore: add more versions to the test matrix #15

chore: add more versions to the test matrix

chore: add more versions to the test matrix #15

Workflow file for this run

name: GH Action
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test-action:
runs-on: ubuntu-latest
strategy:
matrix:
mongo-version:
- 4
- 5
- 6
- 7
mongo-mode:
- standalone
- replicaSet
- sharded
steps:
- uses: actions/checkout@v1
- id: mongodb-cluster-action
uses: ./
with:
version: ${{ matrix.mongo-version }}
mode: ${{ matrix.mongo-mode }}
- run: sudo apt-get update && sudo apt-get install -y mongodb-org-shell
- run: mongosh --eval "db.serverStatus()" ${{ steps.mongodb-cluster-action.outputs.connection-string }}