Skip to content

Commit

Permalink
Use builtin coveralls flag to ignore missing coverage file (#2178)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnyrup committed Apr 10, 2023
1 parent 2215c31 commit e12e8ab
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,12 @@ jobs:
env:
NuGetApiKey: ${{ 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@v2
if: steps.check_files.outputs.files_exists == 'true'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
file: TestResults/reports/lcov.info
allow-empty: true

- name: Upload artifacts
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit e12e8ab

Please sign in to comment.