mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Use shards when running integration tests (#18246)
This PR splits CI integration tests in 3 shards to reduce the time it takes to run them to hopefully prevent timeouts on a single step.
This commit is contained in:
parent
ada85b1f24
commit
f0f42f62c0
14
.github/workflows/integration-tests.yml
vendored
14
.github/workflows/integration-tests.yml
vendored
@ -99,8 +99,18 @@ jobs:
|
||||
CARGO_PROFILE_RELEASE_LTO: 'off'
|
||||
CARGO_TARGET_X86_64_PC_WINDOWS_MSVC_LINKER: 'lld-link'
|
||||
|
||||
- name: Test ${{ matrix.integration }}
|
||||
run: pnpm run test:integrations ./integrations/${{ matrix.integration }}
|
||||
- name: Test ${{ matrix.integration }} 1/3
|
||||
run: pnpm run test:integrations ./integrations/${{ matrix.integration }} --shard 1/3
|
||||
env:
|
||||
GITHUB_WORKSPACE: ${{ github.workspace }}
|
||||
|
||||
- name: Test ${{ matrix.integration }} 2/3
|
||||
run: pnpm run test:integrations ./integrations/${{ matrix.integration }} --shard 2/3
|
||||
env:
|
||||
GITHUB_WORKSPACE: ${{ github.workspace }}
|
||||
|
||||
- name: Test ${{ matrix.integration }} 3/3
|
||||
run: pnpm run test:integrations ./integrations/${{ matrix.integration }} --shard 3/3
|
||||
env:
|
||||
GITHUB_WORKSPACE: ${{ github.workspace }}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user