How do show my tests passing/failing in Github?

前端 未结 4 463
情话喂你
情话喂你 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:09

    Take a look at Travis CI. You can use it with GitHub.

    They have docs on using NodeJS

    Those badges you see are called "status images" and Travis provides MarkDown that you can insert into your project's README.md file.

提交回复
热议问题