Skip to content

Commit

Permalink
Always generate code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ichizok committed Jan 16, 2022
1 parent e6edd84 commit cdd5dcd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
fi
- name: Coverage from Python
if: success() && matrix.make_target == 'fast-test'
if: always() && matrix.make_target == 'fast-test'
run: |
# Coverage from Python (cannot be combined with non-branch data).
if [[ -f .coverage_covimerage ]]; then
Expand All @@ -96,22 +96,21 @@ jobs:
fi
- name: Codecov for Python
if: success() && matrix.make_target == 'fast-test'
if: matrix.make_target == 'fast-test'
uses: codecov/codecov-action@v2
with:
files: coverage.xml
flags: python

- name: Coverage from Vim
if: success()
if: always()
run: |
# Coverage from Vim.
covimerage write_coverage $TEST_PROFILE
coverage report -m
coverage xml
- name: Codecov for Vim
if: success()
uses: codecov/codecov-action@v2
with:
files: coverage.xml
Expand Down

0 comments on commit cdd5dcd

Please sign in to comment.