Skip to content

Commit d9048e8

Browse files
committed
ci: remove test sharding
1 parent 3e0ba56 commit d9048e8

2 files changed

Lines changed: 5 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,6 @@ jobs:
163163
name: Test
164164
runs-on: ubuntu-latest
165165
needs: build
166-
strategy:
167-
fail-fast: false
168-
matrix:
169-
shard: [1, 2]
170166
steps:
171167
- name: Checkout
172168
uses: actions/checkout@v4
@@ -191,8 +187,8 @@ jobs:
191187
name: build-artifacts
192188
path: .
193189

194-
- name: Run tests (${{ matrix.shard }}/2)
195-
run: pnpm test -- --shard=${{ matrix.shard }}/2
190+
- name: Run tests
191+
run: pnpm test
196192
env:
197193
NODE_ENV: test
198194

@@ -201,6 +197,6 @@ jobs:
201197
with:
202198
token: ${{ secrets.CODECOV_TOKEN }}
203199
files: ./engine/*/coverage/lcov.info,./theme/*/coverage/lcov.info
204-
flags: unittests-shard-${{ matrix.shard }}
205-
name: codecov-shard-${{ matrix.shard }}
200+
flags: unittests
201+
name: codecov
206202
fail_ci_if_error: false

engine/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"prebuild": "tsx ./scripts/prebuild.ts",
1919
"build": "pnpm run prebuild && pnpm typecheck && vite build",
2020
"typecheck": "tsc --noEmit",
21-
"test": "vitest run",
21+
"test": "vitest run --passWithNoTests",
2222
"test:dev": "vitest --watch",
2323
"playground:init": "tsx src/playground/init.ts",
2424
"playground:build": "tsx src/playground/build.ts"

0 commit comments

Comments
 (0)