Skip to content

Commit

Permalink
Add Mongo Shard Test
Browse files Browse the repository at this point in the history
  • Loading branch information
saikumar-vs committed Feb 5, 2024
1 parent db924b1 commit 6903346
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/pmm2-testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
strategy:
fail-fast: false
matrix:
db-type: [ps5.7, ps8, ms8.0, pdpgsql13, pdpgsql14, pdpgsql15, modb4.4, modb5, modb6, help, generic, server-container, clientContainer, haproxy, proxysql, remove]
db-type: [ps5.7, ps8, ms8.0, pdpgsql13, pdpgsql14, pdpgsql15, modb4.4, modb5, modb6, mongo-shard, help, generic, server-container, clientContainer, haproxy, proxysql, remove]

steps:
- name: Create status check
Expand Down Expand Up @@ -199,6 +199,16 @@ jobs:
if: ${{ matrix.db-type == 'modb6' }}
run: sudo npx ts-node ./integration-setup.ts --ci --addclient=modb,1 --mo-version=6

- name: Run Setup for PSMDB 6
working-directory: pmm-integration
if: ${{ matrix.db-type == 'modb6' }}
run: sudo -E bash -x ./pmm-tests/pmm-framework.sh --addclient=modb,1 --mo-version=6 --with-shard --mongomagic

- name: Run CLI tests for PSMDB
if: ${{ matrix.db-type == 'modb6' || matrix.db-type == 'mongo-shard' }}
working-directory: ./pmm-ui-tests/cli
run: npx playwright test pmm-ui-tests/cli/tests/mongoDb-psmdb-new.spec.ts --quiet

- name: Run CLI tests for PSMDB
if: ${{ matrix.db-type == 'modb6' || matrix.db-type == 'modb5' || matrix.db-type == 'modb4.4' }}
working-directory: ./pmm-ui-tests/cli
Expand Down

0 comments on commit 6903346

Please sign in to comment.