I’m using this action with the coverage generated by Flutter’s test. Running flutter test --coverage
will create a file under ./coverage/lcov.info
In my ci.yaml file I have this
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage/lcov.info
But I get this output
Run codecov/codecov-action@v1
/bin/bash codecov.sh -Q github-action -f ./coverage/lcov.info -n -F
_____ _
/ ____| | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| | __/ (_| (_) \ V /
\_____\___/ \__,_|\___|\___\___/ \_/
Bash-20201130-cc6d3fe
==> GitHub Actions detected.
project root: .
--> token set from env
Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml
-> Found 1 reports
==> Detecting git/mercurial file structure
==> Reading reports
- Skipping empty file ./coverage/lcov.info
--> No coverage data found.
Please visit http://docs.codecov.io/docs/supported-languages
search for your projects language to learn how to collect reports.
What I’m doing wrong?