Skip to content

Commit

Permalink
Revert "Use builtin coveralls flag to ignore missing coverage file (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jnyrup committed Apr 16, 2023
1 parent ae97fc3 commit 888050b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,18 @@ 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 888050b

Please sign in to comment.