github-action icon indicating copy to clipboard operation
github-action copied to clipboard

Support relative path for "path-to-lcov" argument

Open KeisukeYamashita opened this issue 5 years ago • 1 comments

What

When I ran the following step after my test, the step failed

- name: Coveralls
      uses: coverallsapp/[email protected]
      with:
        github-token: ${{ secrets.GITHUB_TOKEN }}
        path-to-lcov: ./my/path/relative.info

with the the error Lcov: file not found while if I specify with absolute path, it successes.

- name: Coveralls
      uses: coverallsapp/[email protected]
      with:
        github-token: ${{ secrets.GITHUB_TOKEN }}
        path-to-lcov: ${{ github.workspace }}/path/relative/lcov.info

KeisukeYamashita avatar Feb 14 '21 07:02 KeisukeYamashita

I don't think that this bug still exists. In my workflow, I'm providing the path like this:

path-to-lcov: "./packages/amm/coverage/lcov.info"

And it works.

PaulRBerg avatar Aug 12 '21 12:08 PaulRBerg