Commit Graph

1664 Commits

Author SHA1 Message Date
DeeDeeG
e49879918f script/bootstrap: apm prints the current Atom ver
Lets apm know where this repository's Atom metadata is located,
so that `apm --version` prints the version of Atom being bootstrapped.

Previously, this would print "unknown" if no Atom was installed to the
system, or whatever stable version was installed...
which was irrelevant info during the bootstrapping process.

This should be more straightforward, and less confusing.
2020-09-30 12:34:10 -04:00
Musa Ibrahim
2bb82aafb4 Merge pull request #21398 from atom-ide-community/exclude-tests
exclude test folders from the packaged app
2020-09-29 09:57:19 +01:00
Amin Yahyaabadi
83bc6b8379 exclude specific spec folders
Picked by hand to make sure they are test
2020-09-27 20:41:56 -05:00
Amin Yahyaabadi
449d6e6d80 exclude test folders from packaged app 2020-09-27 14:27:22 -05:00
Ash Wilson
efca1361f5 Prevent node_modules/nan pattern from matching node_modules/nanoid 2020-09-27 10:28:51 -04:00
darangi
166fde8fdb fixed issue with re-open closed PRs 2020-09-25 08:54:39 +01:00
dependabot[bot]
bd8036acca Bump acorn from 5.7.1 to 5.7.4 in /script
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.1 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.1...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-18 22:02:36 +03:00
Amin Yahyaabadi
f3e9434410 add core main timeout retry trigger 2020-09-17 19:51:47 -05:00
Amin Yahyaabadi
7d14d560c1 Finalize in the end (not between retry attempts)
don't finalize until the end which the test fails or passes.
2020-09-17 18:46:28 -05:00
Amin Yahyaabadi
30c35eec46 add Error Downloading Update to the retry commands 2020-09-17 18:46:28 -05:00
Amin Yahyaabadi
0572568ef5 increase the retryNumber to 6 2020-09-17 18:46:28 -05:00
Amin Yahyaabadi
e187bf26cb Retry 4 times 2020-09-17 18:46:28 -05:00
Amin Yahyaabadi
c48aacd0e7 pass exitCode 2020-09-17 18:46:28 -05:00
Amin Yahyaabadi
8450f16bdb call the callback only on fail or success
Don't call the callback on retry
2020-09-17 18:46:28 -05:00
Amin Yahyaabadi
4f0acf4a83 call the callback after retrying 2020-09-17 18:46:28 -05:00
Amin Yahyaabadi
7063b48f05 Retry the timed out tests for a number of times 2020-09-17 18:46:28 -05:00
Amin Yahyaabadi
5d09c88927 shouldTryAgain 2020-09-17 18:46:28 -05:00
Amin Yahyaabadi
d7f5ea58e0 isTimedOut 2020-09-17 18:46:28 -05:00
Amin Yahyaabadi
3b10e63204 createTestKey 2020-09-17 18:46:28 -05:00
Amin Yahyaabadi
44f7b43bbb retryOrFailTest 2020-09-17 18:46:28 -05:00
Sadick
86a7b38fa5 Merge pull request #21336 from atom/fix-typo
DependsOn windows_tests
2020-09-17 17:17:16 +03:00
sadick254
951efc40ec DependsOn windows_tests 2020-09-17 07:20:55 +03:00
dependabot[bot]
2c94956eb9 Bump eslint-utils from 1.3.1 to 1.4.3 in /script
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.3.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.3.1...v1.4.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-16 11:01:55 +00:00
Sadick
b94532ed4d Merge pull request #21109 from atom-ide-community/windows_tests_4upstream
Parallelize Tests in CI (+ Refactor and Improvements)
2020-09-16 13:56:39 +03:00
Sadick
b17a5ab6f6 Merge pull request #21212 update npm@6.14.8
update npm@6.14.8
2020-09-16 11:04:54 +03:00
Sadick
b6da674260 Merge pull request #20632
Bump https-proxy-agent from 2.2.1 to 2.2.4 in /script/vsts
2020-09-16 10:59:51 +03:00
Amin Yahyaabadi
3dbe763e14 test on windows-2019
This increases the test-pass rate and reduced the timeouts

https://github.com/atom-ide-community/atom/pull/109
2020-09-16 00:41:26 -05:00
Amin Yahyaabadi
c419744ee3 Update lock files 2020-09-16 00:29:28 -05:00
Amin Yahyaabadi
7040bf9e44 use npm 6.14.8 in ci 2020-09-16 00:18:00 -05:00
Amin Yahyaabadi
fca933fe43 use npm 6.14.8 in script/ 2020-09-16 00:17:37 -05:00
Sadick
0628ba5803 Merge pull request #20043 from atom/dependabot/npm_and_yarn/script/mixin-deep-1.3.2
Bump mixin-deep from 1.3.1 to 1.3.2 in /script
2020-09-16 06:56:34 +03:00
Sadick
94b39402cc Merge pull request #21249 from atom/dependabot/npm_and_yarn/script/vsts/decompress-4.2.1
Bump decompress from 4.2.0 to 4.2.1 in /script/vsts
2020-09-16 06:53:15 +03:00
Amin Yahyaabadi
a9e690d165 refactor the static parts out of the test function which runs by async 2020-09-15 20:40:03 -05:00
dependabot[bot]
1c5413af1b Bump mixin-deep from 1.3.1 to 1.3.2 in /script
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-15 20:29:04 +00:00
dependabot[bot]
d2e257aabf Bump https-proxy-agent from 2.2.1 to 2.2.4 in /script/vsts
Bumps [https-proxy-agent](https://github.com/TooTallNate/node-https-proxy-agent) from 2.2.1 to 2.2.4.
- [Release notes](https://github.com/TooTallNate/node-https-proxy-agent/releases)
- [Commits](https://github.com/TooTallNate/node-https-proxy-agent/compare/2.2.1...2.2.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-15 23:26:03 +03:00
dependabot[bot]
1cb581717c Bump node-fetch from 2.2.0 to 2.6.1 in /script/vsts
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.2.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.2.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-15 20:09:13 +00:00
Sadick
1da06ef5fa Merge pull request #21294
Bump node-fetch from 2.6.0 to 2.6.1 in /script
2020-09-15 23:08:03 +03:00
Amin Yahyaabadi
82abb4ded2 rename windows jobs
to be consistent with macOS
2020-09-14 17:37:37 -05:00
aminya
96480ea5b9 Use async.series
Revert b61475ffe4
2020-09-14 17:37:37 -05:00
Amin Yahyaabadi
3993c420b1 collect output only if stdout exits 2020-09-14 17:37:37 -05:00
aminya
bef8d82106 fix: rename windows job back to Windows 2020-09-14 17:37:36 -05:00
Amin Yahyaabadi
3b796f7995 refactor spawnTest 2020-09-14 17:37:36 -05:00
Amin Yahyaabadi
a69e0f8117 function to create packageTestSuites only when needed 2020-09-14 17:37:36 -05:00
Amin Yahyaabadi
f4bdb22e7d function to create coreRenderProcessTestSuites
only when needed
2020-09-14 17:37:36 -05:00
aminya
66c743465c print the used testCommand for failed tests 2020-09-14 17:37:36 -05:00
aminya
d742f25895 macos: run core main tests in the build phase 2020-09-14 17:37:11 -05:00
aminya
7d93415093 bootstrap in case cache misses 2020-09-14 17:37:11 -05:00
aminya
849216a750 always upload atom windows.zip for x64 2020-09-14 17:37:11 -05:00
aminya
fa6a8e32ce Run windows core main tests in the build step 2020-09-14 17:37:11 -05:00
aminya
62b440d870 Run windows renderer tests in parallel 2020-09-14 17:37:10 -05:00