forked from angular/angular-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b972d57
commit 3a70eb7
Showing
3 changed files
with
43 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
steps: | ||
- label: windows-test | ||
commands: | ||
# Yarn workspaces creates directory junctions inside node_modules, but these fail in docker. | ||
# E.g. inside the container, `mklink /J "C:\src\_" "C:\src\packages\_"` will fail with | ||
# `Access is denied.` | ||
# https://github.com/moby/moby/issues/37024 | ||
# As a workaround, we copy all files in the shared volume and run the commands in the new dir. | ||
- xcopy C:\workdir C:\workdir-copy /E /H /K /S /Q /I | ||
- cd C:\workdir-copy | ||
# Actual CI commands | ||
# --network-timeout is a workaround for https://github.com/yarnpkg/yarn/issues/6221 | ||
- yarn install --frozen-lockfile --non-interactive --network-timeout 500000 | ||
- yarn webdriver-update-appveyor | ||
- node --version | ||
- yarn --version | ||
- yarn test | ||
# Move this file into the .buildkite folder if Appveyor is removed. | ||
- appveyor-e2e.bat | ||
# - bazel test ... | ||
plugins: | ||
- docker#v2.1.0: | ||
image: "filipesilva/node-bazel-windows:0.0.2" | ||
agents: | ||
windows: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
@ECHO OFF | ||
IF defined APPVEYOR_PULL_REQUEST_NUMBER ( | ||
node tests\legacy-cli\run_e2e.js --appveyor "--glob=tests/basic/**" | ||
) ELSE ( | ||
IF not defined APPVEYOR_PULL_REQUEST_NUMBER ( | ||
IF not defined BUILDKITE_PULL_REQUEST ( | ||
REM Run full test suite if not on a Appveyor/Buildkite PR. | ||
node tests\legacy-cli\run_e2e.js --appveyor "--glob=tests/{basic,commands,generate,build/styles}/**" | ||
) | ||
exit | ||
) | ||
) | ||
|
||
REM Run partial test suite. | ||
node tests\legacy-cli\run_e2e.js --appveyor "--glob=tests/basic/**" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters