Skip to content

CircleCI configuration generator for your Ember projects.

License

Notifications You must be signed in to change notification settings

gfmartinez/ember-circleci

 
 

Repository files navigation

Ember-CircleCI

CircleCI Ember Observer Score License: MIT Liberapay Beerpay

CircleCI configuration generator for your Ember projects.

The generated configuration is compatible with applications and addons. In addition, it uses parallel jobs to optimize CI time.

Installation

ember install ember-circleci

Usage

ember g ember-circleci [--exam=X]

Options

  • --exam=X: Use ember-exam to run tests in parallel, X is the number of parallel processes (default value is 4)

Generated configuration

This addon generates the .circleci/config.yml file. Lint and Tests jobs are started as parallel jobs.

If you activate ember-exam, it provides the ability to split, parallelize, and load-balance your test suite.

If ember-exam is not activated, it provides reports of the tests by using xUnit. xUnit generates an xml file and expose it to CircleCI, that way it can gave a quick overview of the failing tests

After the install dependencies job, the node_modules folder is cached by CircleCI to speed up the next runs.

💡 If you later need to regenerate the .circleci/config.yml file, run ember g ember-circle-ci [--exam=X].

Configuration for application

It will provides a test_and_build workflow, as follows:

checkout code / install dependencies / run lint (js and hbs) / run tests (default)

Configuration for addon

It will provides a test_matrix workflow, as follows:

checkout code / install dependencies / run lint (js and hbs) / run tests (default, LTS 3.4, LTS 3.8, release, beta, canary and default with jquery)

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

About

CircleCI configuration generator for your Ember projects.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 85.3%
  • HTML 14.7%