![]() Wwhen files change in canvas and under packages/canvas-planner, eslint bombs out. When files hange in package/canvas-planner alone, they aren't linted using planner's rules fixes ADMIN-830 test plan: this isn't going to be easy. While including the changes here: - commit a change to a canvas-lms .js file with an eslint error > expect gergich to log it in the jenkins output in gerrit - commit a change to a canvas-lms/packages/canvas-planner .js file with an eslint error > expect gergich to log both the above file eslint errors - revert the change to the canva-lms file so only planner has a lint errror > expect gergich to log it Change-Id: I337ee0ff3025875a8faf427e2fb749d76ae09bed Reviewed-on: https://gerrit.instructure.com/142470 Reviewed-by: Ryan Shaw <ryan@instructure.com> Tested-by: Jenkins QA-Review: Deepeeca Soundarrajan <dsoundarrajan@instructure.com> Product-Review: Ed Schiebel <eschiebel@instructure.com> |
||
---|---|---|
.. | ||
activesupport-suspend_callbacks | ||
acts_as_list | ||
adheres_to_policy | ||
attachment_fu | ||
autoextend | ||
bookmarked_collection | ||
broadcast_policy | ||
canvas_breach_mitigation | ||
canvas_cassandra | ||
canvas_color | ||
canvas_crummy | ||
canvas_ext | ||
canvas_http | ||
canvas_i18nliner | ||
canvas_kaltura | ||
canvas_mimetype_fu | ||
canvas_panda_pub | ||
canvas_partman | ||
canvas_quiz_statistics | ||
canvas_sanitize | ||
canvas_slug | ||
canvas_sort | ||
canvas_stringex | ||
canvas_text_helper | ||
canvas_time | ||
canvas_unzip | ||
csv_diff | ||
diigo | ||
dr_diff | ||
event_stream | ||
google_drive | ||
html_text_helper | ||
i18n_extraction | ||
i18n_tasks | ||
incoming_mail_processor | ||
json_token | ||
linked_in | ||
live_events | ||
lti_outbound | ||
multipart | ||
paginated_collection | ||
plugins | ||
rubocop-canvas | ||
selinimum | ||
stringify_ids | ||
tatl_tael | ||
turnitin_api | ||
utf8_cleaner | ||
workflow | ||
README.md | ||
test_all_gems.sh |
README.md
Gems
Testing
To test all the gems:
cd gems
./test_all_gems.sh
To test an individual gem
Run ./test.sh
inside the gem's folder. This is basically the same as:
cd gems/google_drive
bundle
rspec