Commit Graph

71 Commits

Author SHA1 Message Date
630e9814bc datetime is not available at this point (#7630) 2019-05-29 14:06:32 +02:00
6439004161 DEV: do not use STDERR to print tests timestamps (#7629) 2019-05-29 13:28:02 +02:00
5d47d1833b DEV: prints timestamp at every docker:test commands (#7628) 2019-05-29 12:20:33 +02:00
30990006a9 DEV: enable frozen string literal on all files
This reduces chances of errors where consumers of strings mutate inputs
and reduces memory usage of the app.

Test suite passes now, but there may be some stuff left, so we will run
a few sites on a branch prior to merging
2019-05-13 09:31:32 +08:00
a5b804fec4 DEV: Add --profile and --fail-fast when running plugin specs, tweak parallel test balancing 2019-05-01 22:47:18 -04:00
8e5e5d7d35 DEV: Make setting up of multisite DB in test env clearer. 2019-03-21 09:58:07 +08:00
600313373b DEV: skip creating multisite db when running JS tests only 2019-03-21 12:19:12 +11:00
ed74774001 DEV: rebalance parallel tests (again) 2019-03-19 10:21:50 -04:00
60b6c67c1c DEV: rebalance parallel tests (take 2) 2019-03-19 09:59:03 -04:00
c8e1d3c2e7 DEV: rebalance parallel tests 2019-03-19 09:23:10 -04:00
81108ee783 DEV: Increase timeout for JS tests and add env variable 2019-03-18 17:39:53 +01:00
49cdb072d7 DEV: Use --profile and --fail-fast in CI only 2019-03-11 22:04:47 -04:00
edffd0097f DEV: Support running Ruby tests in parallel (#7087) 2019-02-28 16:36:22 -05:00
020e0d623a DEV: run "yarn install" before lint tests 2019-01-17 14:17:44 -05:00
a474bf966c DEV: Skip prettier in single plugin test if patterns aren't found
This reverts d06ca90c94ed5efaf35c50e826e8372906860b82
It didn't work because yarn doesn't return the original exit code of the failed command.
2019-01-02 14:36:09 +01:00
d06ca90c94 DEV: Ignore prettier error when there are no ES6 files 2019-01-02 11:30:09 +01:00
bafe3cd99a Revert "DEV: Lint official plugins in CI (#6519)"
This reverts commit 093cab2db04675dc9f9ccc52a3ceee5f85156f45.
2018-10-22 22:30:33 +01:00
093cab2db0 DEV: Lint official plugins in CI (#6519) 2018-10-22 21:28:38 +01:00
b8c0e77908 DEV: apply plugin migrations when testing in Travis and Docker
In `RAILS_ENV=test`, plugins are not loaded by default. Therefore we need to explicitly specify `LOAD_PLUGINS=1` when we want to apply plugin migrations.
2018-09-13 12:39:54 +01:00
9461c99210 DEV: Add travis_fold to termination stage 2018-09-12 18:59:48 +01:00
26bd67a865 DEV: Add travis_fold statements to docker_test 2018-09-12 17:52:58 +01:00
492b6dc306 DEV: yarn exec doesn't do what I think it does. 2018-08-30 15:55:36 +08:00
720726ea68 Use yarn exec when running eslint and prettier. 2018-08-29 11:03:42 +08:00
2f7960bd2a DEV: updates prettier and displays linters/prettifiers version in CI 2018-06-20 18:34:49 +02:00
8126b603e4 fix prettier 2018-06-20 18:26:43 +02:00
c5c1b45d19 higher loglevel for prettier 2018-06-20 16:51:48 +02:00
913d97e780 fix prettier 2018-06-18 20:10:48 +02:00
6f2c5ea1f2 increases loglevel to debug CI only failure 2018-06-18 19:25:54 +02:00
03a7d532cf DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
d96c775833 enforces prettier 2018-06-08 17:38:29 +02:00
22c186a792 disables prettier enforcing for now 2018-06-08 15:44:00 +02:00
eedf7ffc4f force install with sudo 2018-06-08 13:25:33 +02:00
bc7f16a406 forces install of prettier using npm 2018-06-08 13:22:36 +02:00
3869a9d027 forces global install of prettier 2018-06-08 12:40:05 +02:00
ddade9c145 better log of yarn setup 2018-06-08 12:12:17 +02:00
bb920e9bb1 DEV: makes sure yarn is ran before docker:test 2018-06-08 12:04:53 +02:00
174d392e5a DEV: adds prettier (#5956)
Run `prettier --write "app/assets/stylesheets/**/*.scss" "plugins/**/*.scss"` after making sure you installed it with `yarn`

It's recommended to configure your editor to run prettier on file save.
2018-06-08 11:49:31 +02:00
Sam
322b66bcee attempt to shuffle order of operation for test 2018-06-07 18:16:45 +10:00
3533bdb83f Remove line that is no longer required. 2018-06-07 15:56:16 +08:00
1d5c176ea5 DEV: docker:test rake task should install plugins first before migrating. 2018-06-07 15:20:06 +08:00
Sam
efe7b6dbc1 DEV: after installing official plugins, install the gems 2018-05-17 17:18:22 +10:00
Sam
f0803e9611 sleep here is a better fit 2018-04-11 16:46:27 +10:00
Sam
be0366d587 add debugging for docker test 2018-04-11 16:39:39 +10:00
4f7f733ab0 Upgrade docker:test to use PG 10. 2018-04-04 10:28:23 +08:00
ed6e1c3825 Combine docker:lint and docker:test into one command 2017-08-22 13:47:29 +01:00
a3f5878ec9 Use if, not unless 2017-08-18 22:12:20 +01:00
7704e8246b Allow SINGLE_PLUGIN environment variable to be used 2017-08-18 22:04:35 +01:00
ea43f50f6d Add documentation for new ENV variables 2017-08-18 22:03:09 +01:00
8ecf383c55 Extract linter in docker:test Rake task into docker:lint. 2017-08-18 12:22:01 +09:00
ea032d8372 Improve source code linting for continuous integration (#5017)
* Add rubocop linting to docker:test rake task

* Add eslint JS listing to plugin files, and add SKIP_LINT variable

* Fix failing ‘polls’ plugin eslint

Using eslint-disable-line, as is done in core qunit tests such as `acceptance/group-logs-test.js.es6`

* Add plugin test eslint to travis config

* Merge some eslint lines
2017-08-02 11:33:29 +09:00