Skip to content

Conversation

@bcjordan
Copy link
Contributor

@bcjordan bcjordan commented May 18, 2016

This PR makes CircleCI run all of our unit tests and optionally run Chrome UI tests.

  • circle.yml behavior updated to:
    • perform full standard rake install and rake build
    • collect dashboard/test/ui as an artifact folder (to view logs)
  • Pulls apps/test.sh into test-low-memory.sh and adds a corresponding npm run test-low-memory task.
  • Extracts multiple format_durations into RakeUtils.format_duration
  • Extracts git-specific utility functions from RakeUtils to a new GitUtils module
  • Marks tests that (at one point) consistently failed on CircleCI as @no_circle
  • Adds a circle.rake with targets that circle uses for running tests and UI tests
  • Adds some "streaming output" helper utilities to RakeUtils which output to STDOUT in addition to gathering result information after execution
  • Adds a test.rake, and new test targets:
    • rake test:all - runs all tests across all projects
    • rake test:changed - detects which sub-projects have changed, runs those tests
    • rake test:changed:apps - runs apps tests if sub-project folder has changed
    • rake test:apps, rake test:pegasus, rake test:blockly_core ... etc - runs tests for specific sub-project
  • more clear test runs, get a finger on new best/worse case timing

After (squashed) merging:

  • investigate: coveralls reporting still working on Circle? Shows up in GH UI?
  • ensure runs OK on test and production branches

- Add sauce labs to locals.yml
- Remove extra seeds/setup
…ure—(fixing it from logging out on visits to /hoc/1)
- Require konacha in Gemfile again
- Include ActiveSupport keygenerator in cookie helpers
#visualizationColumn.wireframeShare {
background: url("#{$common_root}phone_wireframe.png") center center no-repeat;
background-size: 432px 757px;
background-color: #5C6971;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This must have somehow slipped in with a staging merge, will un-do.

@bcjordan
Copy link
Contributor Author

@laurelfan made some changes based on feedback, PTAL!

@laurelfan
Copy link
Contributor

LGTM, nice refactoring and testing of RakeUtils :)

@bcjordan bcjordan merged commit 09982a7 into staging May 25, 2016
@bcjordan bcjordan deleted the sauce-circle-fast branch May 25, 2016 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants