LCOV (code coverage data) uploader for codecov.io service. Synced with codecov-bash.
- no CLI
- no local Git
- no GCOV features
- Promise-based API
- AppVeyor
- Buildkite
- CircleCI
- Codeship
- drone.io
- GitLab
- Jenkins
- Semaphore
- Shippable
- Snap CI
- Travis CI
- Wercker
$ yarn add --dev codecov-lite
import { readFile } from 'fs'
import { promisify } from 'util'
import codecov from 'codecov-lite'
(async () => {
const pReadFile = promisify(readFile)
const lcovData = readFile('./coverage/lcov.info', 'utf8')
const { reportURL, config } = await codecov(lcovData)
})()