Skip to content

Commit b7660cc

Browse files
committed
test
1 parent 3df67ca commit b7660cc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/pr.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127

128128
e2e-windows-subset:
129129
# needs: build
130-
runs-on: windows-latest
130+
runs-on: windows-2025
131131
steps:
132132
# Git checkout converts to CRLF by default. This causes the Aspect lock
133133
# files to differ. See: https://github.com/actions/checkout/issues/135.
@@ -203,20 +203,18 @@ jobs:
203203
# See: https://devblogs.microsoft.com/commandline/share-environment-vars-between-wsl-and-windows
204204
WSLENV: 'GOOGLE_APPLICATION_CREDENTIALS/p'
205205
run: |
206-
yarn bazel build \
207-
--config=e2e //tests/legacy-cli:e2e_node22
208-
209206
yarn bazel test \
210207
--config=e2e //tests/legacy-cli:e2e_node22 \
211-
--spawn_strategy=local \
212208
--test_filter="tests/basic/{build,rebuild}.ts" \
213209
--test_arg="--esbuild" \
214210
--test_env="NG_E2E_RUNNER_WSL_ROOT=C:\wsl_root" \
215211
--test_env="NG_E2E_RUNNER_WSL_UNC_BASE=\\\\wsl.localhost\Debian" \
216212
--test_env="NG_E2E_RUNNER_WINDOWS_CMD=${{steps.wsl_paths.outputs.cmd_path}}" \
217213
--test_env="NG_E2E_RUNNER_WINDOWS_NPM=${{steps.wsl_paths.outputs.npm_path}}" \
218214
--test_env="NG_E2E_RUNNER_WINDOWS_TMP_DIR=${{steps.wsl_paths.outputs.tmp_path}}" \
219-
--test_env="NG_E2E_RUNNER_WINDOWS_GIT_BASH_BIN=${{steps.wsl_paths.outputs.git_path}}"
215+
--test_env="NG_E2E_RUNNER_WINDOWS_GIT_BASH_BIN=${{steps.wsl_paths.outputs.git_path}}" \
216+
--test_output=streamed
217+
--test_strategy=standalone
220218
shell: wsl-bash {0}
221219

222220
e2e-package-managers:

tests/legacy-cli/e2e/tests/basic/rebuild.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ export default async function () {
6666
}),
6767
]);
6868
{
69+
console.error(`http://localhost:${port}/main.js`);
70+
await setTimeout(1000 * 60 * 20);
6971
const response = await fetch(`http://localhost:${port}/main.js`);
7072
const body = await response.text();
7173
if (!body.match(/\$\$_E2E_GOLDEN_VALUE_1/)) {

0 commit comments

Comments
 (0)