parsing error!
See original GitHub issueDescribe the bug I’m aware that there is already an issue about this one but I was closed without giving a proper solution, the issue is probably with the lcov.info file which by the way I don’t have enough information about what it is exactly or where it’s been generated, so for now every time I run the action i got this message: Error: parsing error!
To Reproduce This is my job: ` build-app:
name: Build App
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: Set up Java
uses: actions/setup-java@v2
with:
java-version: '15'
distribution: 'adopt'
- name: Set up Flutter
uses: subosito/flutter-action@v1
with:
channel: 'stable'
- name: Install pub Dependencies
run: flutter pub get
- name: analytics
uses: VeryGoodOpenSource/very_good_coverage@v1.2.0
with:
path: './coverage/lcov.info'
min_coverage: 10`
-
See error `Run VeryGoodOpenSource/very_good_coverage@v1.2.0 with: path: ./coverage/lcov.info
min_coverage: 10 env: JAVA_HOME: /opt/hostedtoolcache/Java_Adopt_jdk/15.0.2-7/x64
FLUTTER_ROOT: /opt/hostedtoolcache/flutter/2.5.3-stable/x64
PUB_CACHE: /opt/hostedtoolcache/flutter/2.5.3-stable/x64/.pub-cache Error: parsing error!`
Expected behavior The action run with success
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Hey @ilyes9595 you must validate that generate the coverage file, in my case i used this command
jest -- --coverage --forceExit
As my estimated partner said, check that you are generating the coverage file in the path specified, you can use act (a tool to test actions in local environment) to check that kind of issues, in the previous step you can run a
ls
to check all the files