Skip to content

Commit d10460e

Browse files
committed
Bring back test shards
1 parent 8aa9f4c commit d10460e

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/integration-tests.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,19 @@ jobs:
103103
CARGO_PROFILE_RELEASE_LTO: 'off'
104104
CARGO_TARGET_X86_64_PC_WINDOWS_MSVC_LINKER: 'lld-link'
105105

106-
- name: Test ${{ matrix.integration }}
107-
run: pnpm run test:integrations ./integrations/${{ matrix.integration }}
106+
- name: Test ${{ matrix.integration }} 1/3
107+
run: pnpm run test:integrations ./integrations/${{ matrix.integration }} --shard 1/3
108108
env:
109109
GITHUB_WORKSPACE: ${{ github.workspace }}
110110

111+
- name: Test ${{ matrix.integration }} 2/3
112+
run: pnpm run test:integrations ./integrations/${{ matrix.integration }} --shard 2/3
113+
env:
114+
GITHUB_WORKSPACE: ${{ github.workspace }}
115+
116+
- name: Test ${{ matrix.integration }} 3/3
117+
run: pnpm run test:integrations ./integrations/${{ matrix.integration }} --shard 3/3
118+
111119
- name: Notify Discord
112120
if: failure() && github.ref == 'refs/heads/main'
113121
uses: discord-actions/message@v2

0 commit comments

Comments
 (0)