Skip to content

Commit 261e76a

Browse files
committed
ci: concurrent tests
1 parent e57c7c5 commit 261e76a

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

.github/workflows/test-and-check.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@ jobs:
3535

3636
- name: Install Dependencies
3737
uses: ./.github/actions/install-dependencies
38-
with:
39-
turbo-api: ${{ secrets.TURBO_API }}
40-
turbo-team: ${{ secrets.TURBO_TEAM }}
41-
turbo-token: ${{ secrets.TURBO_TOKEN }}
42-
turbo-signature: ${{ secrets.TURBO_REMOTE_CACHE_SIGNATURE_KEY }}
4338

4439
- name: Check the changesets
4540
run: node -r esbuild-register tools/deployments/validate-changesets.ts
@@ -133,7 +128,7 @@ jobs:
133128
# We are running the package tests first be able to get early feedback on changes.
134129
# There is no point in running the fixtures if a package is broken.
135130
if: steps.changes.outputs.everything_but_markdown == 'true'
136-
run: pnpm run test:ci --log-order=stream --concurrency=1 --filter="./packages/*"
131+
run: pnpm run test:ci --log-order=stream --filter="./packages/*"
137132
env:
138133
NODE_OPTIONS: "--max_old_space_size=8192"
139134
WRANGLER_LOG_PATH: ${{ runner.temp }}/wrangler-debug-logs/
@@ -154,7 +149,7 @@ jobs:
154149
- name: Run tests (fixtures)
155150
if: steps.changes.outputs.everything_but_markdown == 'true'
156151
# Browser rendering is disabled on Ubuntu because of https://pptr.dev/troubleshooting#issues-with-apparmor-on-ubuntu
157-
run: pnpm run test:ci --concurrency 1 --log-order=stream --filter="./fixtures/*" ${{ matrix.os == 'ubuntu-latest' && '--filter="!./fixtures/browser-rendering"' || '' }}
152+
run: pnpm run test:ci --log-order=stream --filter="./fixtures/*" ${{ matrix.os == 'ubuntu-latest' && '--filter="!./fixtures/browser-rendering"' || '' }}
158153
env:
159154
NODE_OPTIONS: "--max_old_space_size=8192"
160155
WRANGLER_LOG_PATH: ${{ runner.temp }}/wrangler-debug-logs/
@@ -182,7 +177,6 @@ jobs:
182177
matrix:
183178
include:
184179
- { node_version: 20, description: "Node 20" }
185-
- { node_version: 24, description: "Node 24" }
186180

187181
steps:
188182
- name: Checkout Repo

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"fix": "dotenv -- turbo check:lint -- --fix && pnpm run prettify",
2323
"prettify": "prettier . --write --ignore-unknown",
2424
"test": "dotenv -- turbo test",
25-
"test:ci": "dotenv -- turbo test:ci",
25+
"test:ci": "dotenv -- turbo test:ci --no-cache",
2626
"test:e2e": "dotenv -- turbo test:e2e",
2727
"test:e2e:c3": "dotenv -- node -r esbuild-register packages/create-cloudflare/scripts/e2e/run-tests.ts",
2828
"test:e2e:wrangler": "dotenv -- node -r esbuild-register tools/e2e/runIndividualE2EFiles.ts",

packages/wrangler/turbo.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@
5858
},
5959
"test:ci": {
6060
"dependsOn": ["build"],
61-
"env": ["VITEST", "NODE_DEBUG", "MINIFLARE_WORKERD_PATH"]
61+
"env": ["VITEST", "NODE_DEBUG", "MINIFLARE_WORKERD_PATH"],
62+
"cache": false
6263
},
6364
"test:e2e": {
6465
"inputs": ["e2e/**"],

0 commit comments

Comments
 (0)