Jason Rudolph
cb3f24fc5c
Use env var to specify path to npm binary
2019-04-18 09:53:40 -04:00
Jason Rudolph
680e48485a
Set PATH so that Azure DevOps macOS builds use correct npm
...
Before we run script/bootstrap on the macOS build, the preceding build
step installs npm 6.2.0 as the global npm version. It installs npm at
`/usr/local/bin/npm`. However, a _different_ version of npm appears
earlier in the PATH. The PATH looks like this:
```
/Users/vsts/hostedtoolcache/node/8.9.3/x64/bin:
/usr/local/lib/ruby/gems/2.6.0/bin:
/usr/local/opt/ruby/bin:
/usr/local/opt/curl/bin:
/usr/local/bin:
/usr/local/sbin:
/Users/vsts/bin:
/Users/vsts/.yarn/bin:
/usr/local/go/bin:
/Users/vsts/Library/Android/sdk/tools:
/Users/vsts/Library/Android/sdk/platform-tools:
/Users/vsts/Library/Android/sdk/ndk-bundle:
/Library/Frameworks/Mono.framework/Versions/Current/Commands:
/usr/bin:
/bin:
/usr/sbin:
/sbin:
/Users/vsts/.azcopy
```
There's an npm executable at
/Users/vsts/hostedtoolcache/node/8.9.3/x64/bin/npm.
To get the build to use the global version of npm, this commit puts
/usr/local/bin at the beginning of the PATH.
2019-04-17 17:27:32 -04:00
Jason Rudolph
ce94241bde
Configure Azure DevOps bootstrapping step to run with CI env vars
2019-04-17 12:23:05 -04:00
Jason Rudolph
5f52a8e0b0
Lint earlier in the build process
2019-04-02 19:43:44 -04:00
Rafael Oleza
874016b785
Add GITHUB_TOKEN env var to the npm install step (take 2)
...
This will prevent issues when installing the `vscode-ripgrep` package
2019-03-20 14:41:22 +01:00
Ash Wilson
402fa903fd
Merge pull request #18802 from atom/aw/jasmine-junit-xml
...
Report test result metadata to Azure DevOps
2019-02-16 11:02:20 -05:00
Ash Wilson
536c582e2b
Respect Atom.SkipTests
2019-02-15 11:16:19 -05:00
Ash Wilson
57ff580d66
Invoke the postprocessing script from CI
2019-02-15 10:09:36 -05:00
Ash Wilson
4d090b8f1e
Set test run titles in PublishTestResults tasks
2019-02-12 11:59:38 -05:00
Ash Wilson
3b7ac36bec
Azure doesn't like trailing whitespace
2019-02-11 13:31:59 -05:00
Ash Wilson
6e69bc0d7d
Upload crash reports on macOS
2019-02-11 10:44:51 -05:00
Ash Wilson
da891bd120
Use spaces in TEST_JUNIT_XML_RUN
2019-02-11 10:13:31 -05:00
Ash Wilson
65661ba8a3
Report test suites individually
2019-02-07 08:49:42 -05:00
Ash Wilson
7361720363
Quoting is a thing
2019-02-06 20:20:13 -05:00
Ash Wilson
c11442df5e
Explicit test-results.xml glob
2019-02-06 19:45:41 -05:00
Ash Wilson
f42de37cbc
Set ROOT instead of PATH
2019-02-06 14:23:54 -05:00
Ash Wilson
b118b91075
Use a subdirectory
2019-02-06 13:16:34 -05:00
Ash Wilson
d3eb451e55
Fail less on empty or missing result directories
2019-02-06 10:40:33 -05:00
Ash Wilson
bef6edb343
Respect Atom.SkipTests
2019-02-06 10:39:59 -05:00
Ash Wilson
ccc95917cd
Use Common.TestResultsDirectory for test results
2019-02-06 10:39:26 -05:00
Ash Wilson
69df3439f9
Use find instead of ls
2019-02-06 10:14:00 -05:00
Ash Wilson
c6d0afb304
Dump the test-results folder
2019-02-05 20:12:37 -05:00
Ash Wilson
847f7aff4c
Use searchFolder and mergeTestResults
2019-02-05 20:12:03 -05:00
Ash Wilson
fe5bdeed21
Let's see if it magically works
2019-02-05 14:28:35 -05:00
Ash Wilson
afd6576566
Set ATOM_JASMINE_REPORTER to "list" on our CI builds
2019-02-05 10:29:09 -05:00
David Wilson
6ff5ea5250
Don't upload build artifacts in PR builds
2018-09-06 08:08:25 -07:00
Chris Patterson
c8c50580bf
Fix strategy and timeout
...
Changing the matrix to match new strategy schema. and moving timoutInMinutes up.
2018-08-31 15:13:57 -04:00
Chris Patterson
1c23aae6a7
Changing phase to job and updating queue to pool
2018-08-31 15:01:27 -04:00
Ash Wilson
96e563555c
Pick up CI from the environment
2018-08-08 10:47:31 -04:00
Ash Wilson
fd955a69a7
Upgrade npm to get "ci"
2018-08-08 09:31:08 -04:00
Ash Wilson
690b23cee4
Use --ci on CI builds
2018-08-08 08:58:41 -04:00
David Wilson
cf79c545c8
Change Atom.RunTests to Atom.SkipTests to not require it in build defs
2018-08-02 07:24:46 -07:00
David Wilson
8f006cab61
Add check for Atom.RunTests variable to make it easy to skip CI tests
2018-08-02 06:55:30 -07:00
David Wilson
059dc29135
Improve logic in macos.yml for deciding when to code sign macOS builds
2018-08-01 19:54:23 -07:00
David Wilson
ff2409f10e
Only use --code-sign parameter on macOS if env variables are set
2018-08-01 14:46:01 -07:00
David Wilson
13e2a8f033
Re-enable CI tests on all three platforms
2018-07-31 16:56:46 -07:00
David Wilson
fe55686b36
Upload atom-api.json as a build artifact on macOS
2018-07-30 14:12:26 -07:00
David Wilson
064cdfaed0
Go back to uploading our own ZIP files for macOS
2018-07-27 07:34:04 -07:00
David Wilson
4205c6abb0
Use a plain copy script instead of CopyFiles task
2018-07-27 06:10:04 -07:00
David Wilson
fe414b9027
Argh VSTS CopyFiles bug...
2018-07-26 14:56:48 -07:00
David Wilson
d5ef836ae5
Fix YAML syntax issue
2018-07-26 14:19:33 -07:00
David Wilson
9c093d168c
Fix issues publishing macOS artifacts
2018-07-26 14:16:22 -07:00
David Wilson
9b081255aa
Publish artifact files directly into output zips to avoid double-zipping
2018-07-26 13:06:50 -07:00
David Wilson
18f4e73488
Temporarily disable tests to speed up builds for artifact testing
2018-07-26 12:13:14 -07:00
David Wilson
3b4fe05155
Upload release assets as individual build artifacts
2018-07-26 12:12:36 -07:00
David Wilson
5330c5db95
Move OS-specific configurations into 'platforms' folder
2018-07-26 10:27:08 -07:00