revert integration shards and just shard unit tests for now
This commit is contained in:
parent
aba1d01c89
commit
83ac10acf1
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue