Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codecov/example-lua
https://github.com/codecov/example-lua
codecov coverage lua luacov
Last synced: about 2 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/codecov/example-lua
- Owner: codecov
- License: mit
- Created: 2015-07-30T14:01:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-01-22T20:55:17.000Z (10 months ago)
- Last Synced: 2024-04-16T04:50:11.506Z (7 months ago)
- Topics: codecov, coverage, lua, luacov
- Language: Shell
- Size: 34.2 KB
- Stars: 7
- Watchers: 20
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[Codecov][1] Lua Example [![travisCI](https://travis-ci.org/codecov/example-lua.svg)](https://travis-ci.org/codecov/example-lua) [![codecov.io](http://codecov.io/github/codecov/example-lua/branch/master/graphs/badge.svg)](http://codecov.io/github/codecov/example-lua)
=====================Note that the coverage is deliberately incomplete. (I swear by Kent Beck!) That
way you can [follow the badge link][5] and see how [Codecov][1] works. You can
view the code there, see hits and misses for coverage, etc.## Guide
### Travis SetupAdd to your `.travis.yml` file.
```yml
language: c
after_success:
- bash <(curl -s https://codecov.io/bash)
```
### Produce Coverage Reports
Run your tests with [LuaCov][5] in order to create the necessary coverage
reports. For example:```
lua -lluacov awesome-tests.lua
```
## Caveats
### Private Repos
Add to your `.travis.yml` file.
```yml
after_success:
- bash <(curl -s https://codecov.io/bash) -t uuid-repo-token
```1. More documentation at https://docs.codecov.io
2. Configure codecov through the `codecov.yml` https://docs.codecov.io/docs/codecov-yamlWe are happy to help if you have any questions. Please contact email our Support at [[email protected]](mailto:[email protected])
[1]: https://codecov.io/
[5]: http://keplerproject.github.io/luacov