Skip to content

Commit 6ddfa4e

Browse files
Upload coveralls even after failed tests (fitbenchmarking#1375)
* Upload coveralls even after failed tests * Compare to remote master (incase not fetched) * Compare to ancestor not master * Update .github/workflows/main.yml --------- Co-authored-by: RabiyaF <47083562+RabiyaF@users.noreply.github.com>
1 parent be6646c commit 6ddfa4e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,11 @@ jobs:
9797
run: |
9898
ci/unit_tests.sh
9999
- name: Submit coverage
100+
if: always()
100101
uses: coverallsapp/github-action@v2
101102
with:
102103
file: coverage.lcov
103-
compare-ref: master
104+
compare-sha: ${{ github.event.pull_request.base.sha }}
104105
git-commit: ${{ github.event.pull_request.head.sha }}
105106
- name: Upload test results
106107
if: always()

0 commit comments

Comments
 (0)