Skip to content

Commit ba95258

Browse files
committed
test: serial
1 parent 2e98baf commit ba95258

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

.github/workflows/ci-rsc.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,18 @@ jobs:
3131
- run: pnpm -C packages/plugin-rsc test
3232

3333
test-e2e:
34-
name: test-rsc (${{ matrix.os }} - ${{ matrix.browser }} - ${{ matrix.shardIndex }}/${{ matrix.shardTotal }})
34+
name: test-rsc (${{ matrix.os }} / ${{ matrix.browser }})
3535
runs-on: ${{ matrix.os }}
3636
strategy:
37+
# TODO: shard?
3738
matrix:
38-
shardIndex: [1, 2]
39-
shardTotal: [2]
4039
os: [ubuntu-latest, macos-latest, windows-latest]
41-
browser: [chromium, firefox, webkit]
42-
exclude:
43-
- { os: ubuntu-latest, browser: webkit }
44-
- { os: macos-latest, browser: firefox }
45-
- { os: windows-latest, browser: firefox }
46-
- { os: windows-latest, browser: webkit }
40+
browser: [chromium]
41+
include:
42+
- os: ubuntu-latest
43+
browser: firefox
44+
- os: macos-latest
45+
browser: webkit
4746
fail-fast: false
4847
steps:
4948
- uses: actions/checkout@v4
@@ -54,12 +53,12 @@ jobs:
5453
- run: pnpm i
5554
- run: pnpm build
5655
- run: pnpm -C packages/plugin-rsc exec playwright install ${{ matrix.browser }}
57-
- run: pnpm -C packages/plugin-rsc test-e2e-ci --project=${{ matrix.browser }} --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
56+
- run: pnpm -C packages/plugin-rsc test-e2e-ci --project=${{ matrix.browser }}
5857
env:
5958
TEST_ISOLATED: true
6059
- uses: actions/upload-artifact@v4
6160
if: always()
6261
with:
63-
name: test-results-${{ matrix.os }}-${{ matrix.browser }}-${{ matrix.shardIndex }}
62+
name: test-results-${{ matrix.os }}-${{ matrix.browser }}
6463
path: |
6564
packages/plugin-rsc/test-results

packages/plugin-rsc/playwright.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ export default defineConfig({
2727
},
2828
],
2929
workers: 1,
30-
fullyParallel: true,
3130
forbidOnly: !!process.env.CI,
3231
retries: process.env.CI ? 2 : 0,
3332
reporter: ['list', process.env.CI && 'github']

0 commit comments

Comments
 (0)