From 8142926f564a71cc1242673783ccf29e27ee01b2 Mon Sep 17 00:00:00 2001 From: Nikola Irinchev Date: Mon, 10 Mar 2025 13:36:20 +0100 Subject: [PATCH] chore(ci): correctly pass args to mongodb-runner --- .github/workflows/homebrew.yml | 2 +- .github/workflows/smoke-tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/homebrew.yml b/.github/workflows/homebrew.yml index 1d957e5905..ddea9eaa9c 100644 --- a/.github/workflows/homebrew.yml +++ b/.github/workflows/homebrew.yml @@ -20,7 +20,7 @@ jobs: run: brew install mongosh - name: Run smoke tests - run: npx --yes mongodb-runner exec -- sh -c 'env MONGOSH_SMOKE_TEST_SERVER=$MONGODB_URI mongosh --smokeTests' + run: npx --yes mongodb-runner -- exec -- sh -c 'env MONGOSH_SMOKE_TEST_SERVER=$MONGODB_URI mongosh --smokeTests' - name: Report failure if: ${{ failure() }} diff --git a/.github/workflows/smoke-tests.yml b/.github/workflows/smoke-tests.yml index 67643387d3..c00c9a2140 100644 --- a/.github/workflows/smoke-tests.yml +++ b/.github/workflows/smoke-tests.yml @@ -36,4 +36,4 @@ jobs: run: npm ci - name: Run smoke tests - run: npx mongodb-runner exec -- sh -c 'env MONGOSH_SMOKE_TEST_SERVER=$MONGODB_URI npm run test-smoke' + run: npx mongodb-runner -- exec -- sh -c 'env MONGOSH_SMOKE_TEST_SERVER=$MONGODB_URI npm run test-smoke'