https://github.com/keybase/github-ci-status
Check the current CI status of a repo using GitHub's Statuses API
https://github.com/keybase/github-ci-status
Last synced: 16 days ago
JSON representation
Check the current CI status of a repo using GitHub's Statuses API
- Host: GitHub
- URL: https://github.com/keybase/github-ci-status
- Owner: keybase
- License: bsd-3-clause
- Archived: true
- Created: 2016-04-22T14:23:13.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-22T18:12:50.000Z (about 9 years ago)
- Last Synced: 2025-04-02T19:37:58.773Z (about 1 month ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 4
- Watchers: 7
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## github-ci-status
github-ci-status will tell you whether the currently checked out state of a
Git repository was tested by a CI on GitHub, using the GitHub Statuses API.The output can look like this:
```
λ ci
Checking keybase/client:5ab4553d88✔ The Travis CI build passed
✔ AppVeyor build succeeded
✔ Your tests passed on CircleCI!
✔ CI tests passedλ echo $?
0
```
Or this:
```
λ ci
Checking keybase/client:1280c0238c✔ Your tests passed on CircleCI!
✖ AppVeyor build failed
✖ The Travis CI build failed
✖ CI tests failedλ echo $?
2
```
Or this:
```
λ ci --required-tests 3
Checking keybase/client:1207f99be4✔ Your tests passed on CircleCI!
✔ The Travis CI build passed
⚠ The required number of tests weren't run (2 vs 3)λ echo $?
4
```### Usage
Just run `ci` inside your repo. The repo should have the `origin` remote set
to GitHub. Only works on public repos at the moment, but it would be easy to
support private and GitHub Enterprise repos too.