GitHub Checks API For Continuous Integration
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


Azure Cosmos DB Gets Multi-Masters
10/05/2018

Microsoft has announced a number of improvements to Azure Cosmos DB, its Azure database announced last year. This year's Build conference heard details of a preview of multi-master support along with  [ ... ]



Online Master Of Computer Science Degrees From Coursera
15/05/2018

Both the University of Illinois and Arizona State University are now offering Master's degrees in Computer Science in partnership with Coursera. Is gaining an online masters a worthwhile undertaking?

 [ ... ]


More News

justjsquare

 



 

Comments




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

Last Updated ( Friday, 11 May 2018 )
 
 

   
Banner
RSS feed of news items only
I Programmer News
Copyright © 2018 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.