How do show my tests passing/failing in Github?

前端 未结 4 460
情话喂你
情话喂你 2021-01-30 03:55

I have a project on github that has extensive unit tests (using mocha for node.js).

I\'d like to show off by showing those tests passing/failing on each page. I notice

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-30 04:23

    Note that since April 26th 2013, you can see the build status on your GitHub repo branch page:

    build status on GitHub repo branches

    The Commit Status API allows you to use that elsewhere: see " Repo Statuses API".

    Starting April 30th, 2013, the API endpoint for commit statuses has been extended to allow branch and tag names, as well as commit SHAs.

提交回复
热议问题