Skip to content

Commit f2bb4b3

Browse files
committed
chore: Setup Docker in the runner so it can run testcontainers
1 parent f8884b8 commit f2bb4b3

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.github/workflows/code-health-fork.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
cache: "npm"
2727
- name: Install dependencies
2828
run: npm ci
29+
- name: Setup Docker
30+
uses: docker/setup-docker-action@v4
2931
- name: Run tests
3032
run: npm test
3133
- name: Upload test results

.github/workflows/code-health.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
cache: "npm"
2828
- name: Install dependencies
2929
run: npm ci
30+
- name: Setup Docker
31+
uses: docker/setup-docker-action@v4
3032
- name: Run tests
3133
run: npm test
3234
- name: Upload test results
@@ -49,6 +51,8 @@ jobs:
4951
cache: "npm"
5052
- name: Install dependencies
5153
run: npm ci
54+
- name: Setup Docker
55+
uses: docker/setup-docker-action@v4
5256
- name: Run tests
5357
env:
5458
MDB_MCP_API_CLIENT_ID: ${{ secrets.TEST_ATLAS_CLIENT_ID }}

tests/integration/transports/stdio.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describeWithMongoDB("StdioRunner", (integration) => {
3232
const response = await client.listTools();
3333
expect(response).toBeDefined();
3434
expect(response.tools).toBeDefined();
35-
expect(response.tools).toHaveLength(21);
35+
expect(response.tools).toHaveLength(22);
3636

3737
const sortedTools = response.tools.sort((a, b) => a.name.localeCompare(b.name));
3838
expect(sortedTools[0]?.name).toBe("aggregate");

0 commit comments

Comments
 (0)