question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Describe 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`
  1. 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:open
  • Created 2 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

13reactions
MarxBarahonaCondorcommented, Jul 26, 2022

Hey @ilyes9595 you must validate that generate the coverage file, in my case i used this command jest -- --coverage --forceExit

11reactions
janncamorenocommented, Jul 26, 2022

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Parse Error: What It Is and How to Fix It - Lifewire
A parse error is an error message you sometimes get on Android devices when an app fails to install. The message itself is...
Read more >
6 Methods to Fix Parse Error on Your Android Device - MiniTool
The Parse Error is an error message you may receive on your Android phone when an application fails to install. This error message...
Read more >
Formula Parse Errors: What They Are & How to Fix Them
A formula parse error happens when you enter a formula into a cell, and the spreadsheet software cannot understand what you want it...
Read more >
What is a parse error? - Quora
A parse error in a piece of computer code, also known as a syntax error, prevents your program from compiling. Parse errors happen...
Read more >
How to fix “Problem parsing the package error” in Android?
1. Go to settings on your device · 2. Scroll down & Click on Applications · 3. Check the box of “Unknown sources...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found