GitHub Checks API For Continuous Integration
Written by Alex Armstrong   
Friday, 11 May 2018

GitHub has announced a beta public release of a new Checks API that aims to make it possible to integrate code checks into a continuous integration workflow. It is the first feature built specifically for repositories with Travis CI GitHub Apps integration enabled. Checks API compatibility with CircleCI is on the way.

 githubchecksbanner

 

The Checks API, which allows developers to build sophisticated tools for continuous integration (CI), linting, and acceptance testing on GitHub is now available in public beta. This new functionality currently works with the GitHub REST API, with GraphQL support coming soon.

It provides new functionality which allows integrations and GitHub to communicate more comprehensively about the checks run against code changes. These changes will improve workflow by allowing users to view feedback from code checks directly in the pull request view, see the line of code causing a problem in the diff view, “re-run” checks, and more-all within the GitHub user interface.

 

githubchecks1

 

The GitHub Checks API can be regarded as an evolution of the traditional GitHub status API, which allows external services to mark commits with a status code, i.e. fail or pass, which is reflected in pull requests involving those commits. Using the Checks API, integrators have now more fine-grained control over the status of a commit or PR, including successfailureneutralcancelledtimed_out, or action_required, as well as queuedin_progress, or completed. Additionally, a check can include a variety of data, such as textual information, images, etc This allows to build sophisticated workflows where you have a number of checks run against a commit or PR and GitHub will show you which ones pass and which ones fail and which require attention.

githubchecks

For Travis CL projects on GitHub Apps, GitHub Checks API allows you to view build stages, jobs, and results, so you can get a complete picture of the health of your projects directly from GitHub. You can also see your config and re-run builds from within the GitHub Checks UI.  An additional “Checks” tab in a Pull Request where you will see Travis CI listed. The GitHub Checks page shows a detailed summary of your build and gives you the ability to re-run it directly from the GitHub Checks page.

 travischecks

 

 

Checks API is available to GitHub Apps, the new name for GitHub Integrations as we reported last year, through a new granular permission: checks 

githubchekssq

More Information

New Checks API public beta

Introducing the Checks API, a better way to connect integrations and code

Checks API documentation

Related Articles

GitHub Announces Marketplace

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on, Twitter, FacebookGoogle+ or Linkedin.

 

Banner


Amazon Adds Way To Make Money With Alexa Channel
02/10/2018

Amazon has updated the options for making money using Alexa Skills. Amazon Pay for Alexa Skills can be used to set up simple voice purchasing flow to sell goods or services, and there's a developer an [ ... ]



Google Bans Obfuscated Code - Who's To Judge?
03/10/2018

There are nasty cruel people who say that my code comes out pre-obfuscated. They are wrong of course, but I'm not sure I'd like my chances submitting it to Google for approval as a Chrome extension.


More News

Python

 



 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Friday, 11 May 2018 )