Commit Graph

1736 Commits

Author SHA1 Message Date
Rafael Oleza
8ad7aa0b5b ⬆️ electron-chromedriver@4.2.0 2019-06-17 10:52:25 +02:00
Rafael Oleza
5ddb665831 Merge branch 'master' into electron-4 2019-06-15 10:26:34 +02:00
Winston Liu
86ad1c6604 Revert "Install apm using ci"
This reverts commit c7b55e5cea.
2019-06-13 22:26:52 -04:00
Winston Liu
c7b55e5cea Install apm using ci 2019-06-13 22:25:23 -04:00
Rafael Oleza
442549eb62 Merge pull request #19504 from atom/update-node-ci-version
Update Node.js version used in CI systems
2019-06-12 18:25:55 +02:00
Jason Rudolph
898c12fe21 Rely on Azure Pipelines instead of AppVeyor for Windows builds 2019-06-12 10:23:18 -04:00
Rafael Oleza
7c3a628336 ⬆️ fs-admin@0.5.0 2019-06-12 15:25:37 +02:00
Rafael Oleza
8d9a7aa978 Add yml files to the node_modules cache key
This is to prevent reusing the node_modules folder when there are
changes in the build system, which can affect the npm install step (like
upgrading the Node.js version).
2019-06-12 15:24:23 +02:00
Rafael Oleza
8e836b026f Update the nodejs version used on CI systems
It now matches the version of Node.js that Electron v3.1 is using.
2019-06-12 15:24:23 +02:00
Rafael Oleza
1d13427124 Auto-format yaml files 2019-06-12 12:56:22 +02:00
Antonio Scandurra
ee0ddaa1d8 Run each test suite with a pristine ATOM_HOME directory
This ensures that every test suite does not clutter subsequent ones. It 
will also prevent altering the user's `~/.atom` directory when running 
tests locally.
2019-06-07 09:33:09 +02:00
Antonio Scandurra
6a88fa4185 Don't symlink compile-cache folder in AtomWindow tests
In these tests, we create a temporary `ATOM_HOME` to avoid cluttering 
the user's real `~/.atom` folder.

Adding a symlink to the real `compile-cache` was introduced to speed up 
main process tests, so that the transpilation cache could be reused. 

Unfortunately, when the real `~/.atom` folder did not exist (such as on 
a pristine environment on CI), it would confuse Atom, which would think 
that it didn't need to re-create a `compile-cache` folder again, but 
wouldn't be able to write to it because the symlink pointed to a 
non-existant directory.

Main process tests were overhauled and made faster recently, so we can 
safely remove this performance optimization.
2019-06-06 17:11:01 +02:00
Antonio Scandurra
587a4dd72d Run main process tests during build step
For some reason, one main process test fails when run in a different 
container than the one in which Atom was built. These tests are pretty 
quick, so their impact on parallelism should be negligible.
2019-06-05 14:11:11 +02:00
Antonio Scandurra
2b0e5b0c32 Split package tests more evenly across containers 2019-06-05 13:29:24 +02:00
Antonio Scandurra
791a583860 Run package tests in parallel 2019-06-05 10:05:19 +02:00
Antonio Scandurra
9d2494ca16 Don't run benchmark tests during script/test unless explicitly requested 2019-06-04 18:50:50 +02:00
Antonio Scandurra
0d00538da3 Run core and package tests in parallel for macOS on Azure Pipelines 2019-06-04 18:50:26 +02:00
Antonio Scandurra
8231a16d77 Add package.json as a key to invalidate the cache on Electron upgrades 2019-06-04 13:08:58 +02:00
Antonio Scandurra
3a6750b3f9 Run bootstrap only once on Azure Pipelines for Windows 2019-06-04 11:10:05 +02:00
Antonio Scandurra
3be4889b77 Cache node_modules on Azure Pipelines based on package-lock.json
Co-Authored-By: Nathan Sobo <nathan@github.com>
Co-Authored-By: Rafael Oleza <rafeca@github.com>
2019-06-04 09:38:49 +02:00
Winston Liu
5f0aad2ec7 Merge branch 'master' into electron-4 2019-05-31 18:44:50 -04:00
Rafael Oleza
e213a69a1f Re-apply prettier JS formatter 2019-06-01 00:29:10 +02:00
Rafael Oleza
79f6836349 Merge commit '1d9a4cafcf6cc288d675512db8fd984e13aab869' into dw-windows-separate-channels 2019-06-01 00:28:37 +02:00
Rafael Oleza
975f203dc7 Merge commit '677bbb7f0b8754787ff9e7bfab4602ba82e13b0b' into dw-windows-separate-channels 2019-06-01 00:27:52 +02:00
Rafael Oleza
948480665f Merge commit '1d9a4cafcf6cc288d675512db8fd984e13aab869' into wl-upgrade-webdriverio 2019-05-31 18:52:18 +02:00
Rafael Oleza
77dcd96a66 Merge commit '677bbb7f0b8754787ff9e7bfab4602ba82e13b0b' into wl-upgrade-webdriverio 2019-05-31 18:51:49 +02:00
Rafael Oleza
7f3f040628 Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
Rafael Oleza
677bbb7f0b Merge pull request #19408 from atom/enable-no-useless-escape-eslint-rule
Enable eslint rules that got disabled
2019-05-31 18:29:31 +02:00
Winston Liu
3e6d7cce84 Re-enable snapshotting 2019-05-30 09:22:55 -04:00
Winston Liu
1ebfcbae89 Merge branch 'master' into electron-4 2019-05-30 09:22:12 -04:00
Antonio Scandurra
20a49bb165 Upgrade to Electron 3.1.10 2019-05-29 18:59:40 +02:00
Antonio Scandurra
091325bd02 Merge branch 'master' into electron-3.1 2019-05-29 18:35:01 +02:00
Antonio Scandurra
dcac01fc18 Upgrade text-buffer to v13.15.4-0 2019-05-29 14:19:33 +02:00
Antonio Scandurra
3b5eb5d247 Add policy to prevent asking password more than once on RPM
See 50f73a5 for more details.

Co-Authored-By: Rafael Oleza <rafeca@github.com>
2019-05-28 11:59:29 +02:00
Antonio Scandurra
50f73a57b7 Add policy to prevent asking password more than once on Debian
This is a polkit policy that is read when fs-admin invokes `dd` via
`pkexec` after trying to write into a restricted location. By specifying
`auth_admin_keep`, we are telling the polkit daemon to not prompt users
for a password again if they have already escalated privileges recently.

Co-Authored-By: Rafael Oleza <rafeca@github.com>
2019-05-28 11:53:21 +02:00
Rafael Oleza
dc2df49b60 Enable no-useless-escape eslint rule 2019-05-27 10:59:39 +02:00
Winston Liu
791d6b4896 ⬆️ webdriverio@5.9.2 2019-05-25 21:42:32 -04:00
Winston Liu
7870675ef4 Re-enable tests 2019-05-25 20:50:53 -04:00
Winston Liu
b58243c93b Speed up CI 2019-05-24 20:26:38 -04:00
Winston Liu
21ed70687c WIP: Upgrade webdriverio 2019-05-23 18:36:12 -04:00
Antonio Scandurra
4a1ff99826 ⬆️ nsfw@1.0.23 2019-05-23 15:47:13 +02:00
Rafael Oleza
78c0a2881b Merge branch 'master' into ns-ro/ripgrep-scan 2019-05-22 23:37:19 +02:00
Winston Liu
c2f1d65eeb Oops, package lock it 2019-05-21 23:44:37 -04:00
Winston Liu
cfaca0a444 Temporarily disable snapshotting 2019-05-21 20:24:53 -04:00
Winston Liu
d988983420 Forward-port chromedriver changes 2019-05-21 15:24:33 -04:00
Jason Rudolph
0ab0e6595d Merge pull request #19346 from atom/dw-fix-draft-automation
Re-enable draft release automation for builds on release branches
2019-05-21 14:27:38 -04:00
Jason Rudolph
677a46de40 Merge pull request #18116 from atom/dw-update-server-script
Add a simple server for testing Atom updates, enable Atom to use it via environment variable
2019-05-21 12:38:38 -04:00
Antonio Scandurra
8e2e2620d3 Revert "Revert "Merge pull request #18916 from atom/electron-3.1""
This reverts commit 3da827b8b0.
2019-05-21 17:26:00 +02:00
Jason Rudolph
55080a92de 📝 Tweak README for update server
/xref https://github.com/atom/atom/pull/18116#discussion_r284952157
2019-05-21 10:28:31 -04:00
Jason Rudolph
0baff74cee Always show warning if --test-sign arg is used when building win32
/xref https://github.com/atom/atom/pull/18116#discussion_r284952925
2019-05-21 10:24:44 -04:00