Joffrey JAFFEUX
2f7960bd2a
DEV: updates prettier and displays linters/prettifiers version in CI
2018-06-20 18:34:49 +02:00
Joffrey JAFFEUX
8126b603e4
fix prettier
2018-06-20 18:26:43 +02:00
Joffrey JAFFEUX
c5c1b45d19
higher loglevel for prettier
2018-06-20 16:51:48 +02:00
Joffrey JAFFEUX
913d97e780
fix prettier
2018-06-18 20:10:48 +02:00
Joffrey JAFFEUX
6f2c5ea1f2
increases loglevel to debug CI only failure
2018-06-18 19:25:54 +02:00
Joffrey JAFFEUX
03a7d532cf
DEV: introduces prettier for es6 files
2018-06-15 17:03:24 +02:00
Joffrey JAFFEUX
d96c775833
enforces prettier
2018-06-08 17:38:29 +02:00
Joffrey JAFFEUX
22c186a792
disables prettier enforcing for now
2018-06-08 15:44:00 +02:00
Joffrey JAFFEUX
eedf7ffc4f
force install with sudo
2018-06-08 13:25:33 +02:00
Joffrey JAFFEUX
bc7f16a406
forces install of prettier using npm
2018-06-08 13:22:36 +02:00
Joffrey JAFFEUX
3869a9d027
forces global install of prettier
2018-06-08 12:40:05 +02:00
Joffrey JAFFEUX
ddade9c145
better log of yarn setup
2018-06-08 12:12:17 +02:00
Joffrey JAFFEUX
bb920e9bb1
DEV: makes sure yarn is ran before docker:test
2018-06-08 12:04:53 +02:00
Joffrey JAFFEUX
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
Guo Xiang Tan
3533bdb83f
Remove line that is no longer required.
2018-06-07 15:56:16 +08:00
Guo Xiang Tan
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
Guo Xiang Tan
4f7f733ab0
Upgrade docker:test to use PG 10.
2018-04-04 10:28:23 +08:00
David Taylor
ed6e1c3825
Combine docker:lint and docker:test into one command
2017-08-22 13:47:29 +01:00
David Taylor
a3f5878ec9
Use `if`, not `unless`
2017-08-18 22:12:20 +01:00
David Taylor
7704e8246b
Allow SINGLE_PLUGIN environment variable to be used
2017-08-18 22:04:35 +01:00
David Taylor
ea43f50f6d
Add documentation for new ENV variables
2017-08-18 22:03:09 +01:00
Guo Xiang Tan
8ecf383c55
Extract linter in `docker:test` Rake task into `docker:lint`.
2017-08-18 12:22:01 +09:00
David Taylor
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
Guo Xiang Tan
5012d46cbd
Add rubocop to our build. ( #5004 )
2017-07-28 10:20:09 +09:00
Robin Ward
5cfc2d8972
Run wizard specs in docker:test
2017-07-27 11:29:18 -04:00
David Taylor
febd7621ea
Qunit plugin rake tasks ( #4985 )
...
* Allow running specific plugin tests using ENV variables
* Add a `rake plugin:qunit` task to match the existing `rake plugin:spec` task
* Improve docker.rake to allow running specific plugin qunit tests
* Purge cache before and after qunit tests
* Stop module auto-loader trying to auto-load tests
* Use URL query parameters to pass config into Qunit, avoiding caching issues
* Oops, searchParams doesn’t work in phantomJS. Parse the URL manually.
* Escape ampersands before passing URL to phantomJS, otherwise multiple parameters go wrong
2017-07-26 09:07:46 -04:00
Sam
283d42d6f3
FEATURE: allow bisect and rspec seed
2017-07-25 11:09:51 -04:00
Guo Xiang Tan
dd932217ca
Fix docker tests not loading plugins.
2017-07-25 15:27:09 +09:00
David Taylor
62604e9297
Allow docker test rake task to be used for single plugins ( #4973 )
...
* Allow docker test rake task to be used for single plugins
2017-07-21 09:59:54 +09:00
Sam
0b9f39a406
Add options to skip core and install official plugins
2017-07-19 12:17:18 -04:00
Guo Xiang Tan
5d9daa299a
Only run plugin tests if plugins are loaded.
2017-03-07 16:36:49 +08:00
Guo Xiang Tan
fc0f363973
Run plugin specs as well.
2017-03-02 17:28:35 +08:00
Rafael dos Santos Silva
f68540b022
Increase QUnit timeouts to allow on slower envs
2017-02-23 19:21:06 -03:00
Rafael dos Santos Silva
6a271a7695
Increase Qunit tests timeout on Docker tests
2017-02-14 16:09:14 -02:00
Sam
b2d59a8de3
update docker test
2016-05-23 15:29:39 +10:00
Robin Ward
9b7c4023e8
Run eslint instead of jshint, remove rbx
2015-08-13 15:22:33 -04:00
Robin Ward
b0541500b4
FIX: eslint deprecations
2015-08-13 15:14:08 -04:00
Robin Ward
946e34f65c
Use eslint in `docker_test`
2015-08-13 14:55:53 -04:00
Sam
5443734a1f
Refactor: allow running js or ruby tests only
2014-06-20 09:27:09 +10:00
Sam
d4cf0a58e3
oops should be HEAD
2014-06-19 17:04:02 +10:00
Sam
457429ccf1
bad style
2014-06-19 15:51:08 +10:00
Sam
0c2d346455
Optimisations to docker test script
2014-06-19 15:35:24 +10:00
Sam
a3e3de4735
Allow to pass commit hash to tester
2014-06-19 15:11:55 +10:00
Sam
91d21e6ff0
Work in progress, standalone docker test
2014-06-18 17:31:25 +10:00