mirror of
https://github.com/zhigang1992/yarn.git
synced 2026-04-29 09:45:02 +08:00
* Set up CI with Azure Pipelines
* Update azure-pipelines.yml
* Update azure-pipelines.yml
* Update package.json
* Adds debug
* Tries using bash
* Tweaks timeouts
* Fixes various things related to the win32 compat
* I get the same 22 failed tests with/without the delay.
* Fix makeFakeBinary for win32.
It needs the ".cmd" extension, otherwise it's ignored.
Remove #!/bin/sh and instead add @echo off to clean output
Use errorCode 0 so we get output and not a Command failed
* Check custom output instead of versions.
Running fake binaries there was no way to get local versions of node or yarn. Am I missing something?
* Remove quotes from echo (not removed in Windows).
Replace ; by /n as the former doesn't actually break statements in Windows batch files.
* Some tweaks
* Fixes syntax
* Fixes tests on Windows
* Adds test reporting
* Fixes things (?)
* Fixes indent
* Always run the test result publishing
* Fixes yml
* Use node scripts to avoid Windows interoperability issues.
* Fixes the "must use the same Node as Yarn itself" test
* Fixes escaping from within the tests
* Removes the accidental .only flag
* Fixes a test on Windows
* Add support for different drives in Windows.
So if code is in D: but temporary folder is in C:, don't try to find a relative path but stay on the absolute one.
* No need to getPackageLocation
* Add support for environment and arguments by using a custom solution instead of cmd-shim.
* Missing escape on path in pnpapi test.
* Some cleaning
* Runs tests on all three platforms
* Fixes write paths
* Fixes normalizePath
* Disables pkg-tests from CircleCI (moved to Azure)
* Increase Windows timeouts and better name Test results (#6680)
* Increase timeout in Windows, we're seeing tests failing randomly and others close to default 5 sec.
* Distinguish tests published from each job.
* Pass name as vmImage is not available
* Remove unnecessary detect unfinished tests.
* Using strategy var instead of parameter
* Use variables instead of strategy
* Revert "Disables pkg-tests from CircleCI (moved to Azure)"
This reverts commit 8f724620b6.
51 lines
730 B
YAML
51 lines
730 B
YAML
jobs:
|
|
|
|
- job: Windows
|
|
pool: 'Hosted VS2017'
|
|
|
|
variables:
|
|
os_name: Windows
|
|
|
|
strategy:
|
|
matrix:
|
|
node_8_x:
|
|
node_version: 8.x
|
|
node_10_x:
|
|
node_version: 10.x
|
|
|
|
steps:
|
|
- template: scripts/azure-run-tests.yml
|
|
|
|
- job: Linux
|
|
pool:
|
|
vmImage: 'Ubuntu 16.04'
|
|
|
|
variables:
|
|
os_name: Linux
|
|
|
|
strategy:
|
|
matrix:
|
|
node_8_x:
|
|
node_version: 8.x
|
|
node_10_x:
|
|
node_version: 10.x
|
|
|
|
steps:
|
|
- template: scripts/azure-run-tests.yml
|
|
|
|
- job: OSX
|
|
pool:
|
|
vmImage: 'macOS 10.13'
|
|
|
|
variables:
|
|
os_name: OSX
|
|
|
|
strategy:
|
|
matrix:
|
|
node_8_x:
|
|
node_version: 8.x
|
|
node_10_x:
|
|
node_version: 10.x
|
|
|
|
steps:
|
|
- template: scripts/azure-run-tests.yml |