Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions .github/shared-actions/windows-bazel-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ runs:
steps:
- name: Initialize WSL
id: init_wsl
uses: angular/dev-infra/github-actions/setup-wsl@029d16b075db696b35d0d661d0fd3a0552a4b452
uses: alan-agius4/dev-infra/github-actions/setup-wsl@b2aa2ca0b444864453760f2d1ccd19f27af13102
with:
wsl_firewall_interface: 'vEthernet (WSL (Hyper-V firewall))'

- name: Install node modules in WSL (re-using from previous install/cache restore)
- name: Install node modules (inside WSL)
run: |
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
Expand Down Expand Up @@ -72,16 +72,16 @@ runs:
# TODO(devversion): consult with Aspect on why this is needed.
(cd $runfiles_dir/_main && ${{steps.init_wsl.outputs.cmd_path}} /C "mklink /D external ..")

- name: Run tests
# Note: This is Git Bash.
shell: bash
env:
BAZEL_BINDIR: '.'
# Use D:/ for better performance see: https://github.com/actions/runner-images/issues/12744
E2E_TEMP: 'D:\\tmp_dir'
working-directory: "D:\\test"
run: |
node "${{github.workspace}}\\scripts\\windows-testing\\parallel-executor.mjs" \
$PWD/dist/bin/tests/legacy-cli/${{inputs.test_target_name}}_/${{inputs.test_target_name}}.bat.runfiles \
${{inputs.test_target_name}} \
"${{inputs.test_args}}" \
# - name: Run tests
# # Note: This is Git Bash.
# shell: bash
# env:
# BAZEL_BINDIR: '.'
# # Use D:/ for better performance see: https://github.com/actions/runner-images/issues/12744
# E2E_TEMP: 'D:\\tmp_dir'
# working-directory: "D:\\test"
# run: |
# node "${{github.workspace}}\\scripts\\windows-testing\\parallel-executor.mjs" \
# $PWD/dist/bin/tests/legacy-cli/${{inputs.test_target_name}}_/${{inputs.test_target_name}}.bat.runfiles \
# ${{inputs.test_target_name}} \
# "${{inputs.test_args}}" \
Loading