From d46d1e54762fef402e2fe4ebde10075c7bc67b48 Mon Sep 17 00:00:00 2001 From: dphuang2 Date: Sun, 5 Nov 2023 00:51:37 -0700 Subject: [PATCH] use two different sats --- .../workflows/konfig-sdk-integration-tests-earthly.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/konfig-sdk-integration-tests-earthly.yaml b/.github/workflows/konfig-sdk-integration-tests-earthly.yaml index 06a5cdadd..88b4ae077 100644 --- a/.github/workflows/konfig-sdk-integration-tests-earthly.yaml +++ b/.github/workflows/konfig-sdk-integration-tests-earthly.yaml @@ -38,7 +38,11 @@ jobs: contains(github.event.head_commit.message, 'run-it') strategy: matrix: - shard: [1/2, 2/2] + config: + - shard: '1/2' + sat: 'med-boy' + - shard: '2/2' + sat: 'med-boy-friend-1' env: EARTHLY_SECRETS: ${{ secrets.EARTHLY_SECRETS }} EARTHLY_TOKEN: ${{ secrets.EARTHLY_TOKEN }} @@ -63,5 +67,5 @@ jobs: working-directory: ./generator/konfig-integration-tests - name: Build and run integration tests - run: earthly --ci --sat med-boy --secret NPM_TOKEN=dummy --secret GITHUB_ACTIONS -P +test --TEST_ARGS="--shard=${{ matrix.shard }}" + run: earthly --ci --sat ${{ matrix.config.sat }} --secret NPM_TOKEN=dummy --secret GITHUB_ACTIONS -P +test --TEST_ARGS="--shard=${{ matrix.config.shard }}" working-directory: ./generator/konfig-integration-tests \ No newline at end of file