Skip to content

Commit

Permalink
Check if lcov.info does exist (#2097)
Browse files Browse the repository at this point in the history
  • Loading branch information
ITaluone committed Jan 13, 2023
1 parent 895999d commit 55b9064
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Expand Up @@ -32,8 +32,15 @@ jobs:
PullRequestBase: ${{ github.event.pull_request.base.ref }}
ApiKey: ${{ secrets.NUGETAPIKEY }}

- name: Check for 'lcov.info' existence
id: check_files
uses: andstor/file-existence-action@v2
with:
files: "TestResults/reports/lcov.info"

- name: coveralls
uses: coverallsapp/github-action@1.1.3
if: steps.check_files.outputs.files_exists == 'true'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: TestResults/reports/lcov.info
Expand Down

0 comments on commit 55b9064

Please sign in to comment.