revert integration shards and just shard unit tests for now

This commit is contained in:
Sean Larkin 2023-04-28 21:53:06 +00:00
parent aba1d01c89
commit 83ac10acf1
1 changed files with 0 additions and 5 deletions

View File

@ -95,7 +95,6 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [10.x, 20.x]
part: [a, b]
shards: [1, 2, 3, 4, 5, 6, 7, 8]
include:
- os: ubuntu-latest
node-version: 18.x
@ -144,11 +143,7 @@ jobs:
path: .jest-cache
key: jest-integration-${{ env.GITHUB_SHA }}
restore-keys: jest-integration-
# Jest sharding for modern node versions
- run: yarn cover:integration --ci --shard ${{ matrix.shards }}/8 --cacheDirectory .jest-cache
# Sharding using parts for legacy node versions
- run: yarn cover:integration:${{ matrix.part }} --ci --cacheDirectory .jest-cache || yarn cover:integration:${{ matrix.part }} --ci --cacheDirectory .jest-cache -f
if: matrix.node-version != '10.x' && matrix.node-version != '12.x' && matrix.node-version != '14.x'
- run: yarn cover:merge
- uses: codecov/codecov-action@v3
with: