Skip to content

Update codecov.yml

Update codecov.yml #79

Workflow file for this run

name: Codecov
on: push
workflow_dispatch:

Check failure on line 3 in .github/workflows/codecov.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/codecov.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Install modules
run: |
npm i
npm test
- name: Generate coverage report
run: |
npx nyc report --reporter=text-lcov > coverage.lcov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
files: ./coverage.lcov # optional
flags: unittests # optional
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)