Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.1 KB

CONTRIBUTING.md

File metadata and controls

31 lines (20 loc) · 1.1 KB

Contributing

Thank you for considering contributing to Cucumber ci-environment!

Code of Conduct

Everyone interacting in this codebase and issue tracker is expected to follow the Cucumber code of conduct.

Adding support for new CI servers

If you want to see support for a new CI server, please submit a pull request.

Here are the steps:

  • Add a new entry to CiEnvironments.json. See ARCHITECTURE.md for more information on CiEnvironments.json.
  • Add an approval test in testdata/YourCi.txt and testdata/YourCi.txt.json.

Then build and run the tests for all implementations:

cd java && mvn clean install
cd ../javascript && npm install && npm test
cd ../ruby && bundle && bundle exec rake

If all tests pass, commit your code and submit a pull request. Bonus points if you also update CHANGELOG.md and README.md.

You might want to look at the source code for danger to understand how various CI server environment variables should be interpreted.