Skip to content

Commit cdd5dcd

Browse files
committed
Always generate code coverage
1 parent e6edd84 commit cdd5dcd

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/test.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
fi
8888
8989
- name: Coverage from Python
90-
if: success() && matrix.make_target == 'fast-test'
90+
if: always() && matrix.make_target == 'fast-test'
9191
run: |
9292
# Coverage from Python (cannot be combined with non-branch data).
9393
if [[ -f .coverage_covimerage ]]; then
@@ -96,22 +96,21 @@ jobs:
9696
fi
9797
9898
- name: Codecov for Python
99-
if: success() && matrix.make_target == 'fast-test'
99+
if: matrix.make_target == 'fast-test'
100100
uses: codecov/codecov-action@v2
101101
with:
102102
files: coverage.xml
103103
flags: python
104104

105105
- name: Coverage from Vim
106-
if: success()
106+
if: always()
107107
run: |
108108
# Coverage from Vim.
109109
covimerage write_coverage $TEST_PROFILE
110110
coverage report -m
111111
coverage xml
112112
113113
- name: Codecov for Vim
114-
if: success()
115114
uses: codecov/codecov-action@v2
116115
with:
117116
files: coverage.xml

0 commit comments

Comments
 (0)