Skip to content

Commit 6c6d75e

Browse files
committed
add coveralls as codecov is severly broken.
Codecov no longer shows commit diffs with coverage per line. Also seems to have issues pulling data/commits from github. Try out codecov to see if I can get useful functionality back.
1 parent f44209e commit 6c6d75e

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/ci-test.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ jobs:
197197
# python2 case
198198
pytest -v -r a test/ --cov=roundup
199199
fi
200+
coverage lcov
200201
201202
- name: Upload coverage to Codecov
202203
# see: https://github.com/codecov/codecov-action#usage
@@ -205,7 +206,12 @@ jobs:
205206
verbose: true
206207
token: ${{ secrets.CODECOV_TOKEN }}
207208

208-
- name: test build_doc
209+
- name: Upload coverage to Coveralls
210+
uses: coverallsapp/github-action@master
211+
with:
212+
github-token: ${{ secrets.GITHUB_TOKEN }}
213+
214+
- name: test build_doc
209215
run: |
210216
python ./setup.py build_doc
211217
@@ -224,3 +230,15 @@ jobs:
224230
# run: |
225231
# docker build -t roundup-app-rel --build-arg="source=pypi" \
226232
# -f scripts/Docker/Dockerfile .
233+
234+
235+
# in parallel build codecov requires a finish step
236+
finish:
237+
needs: test
238+
runs-on: ubuntu-latest
239+
steps:
240+
- name: Coveralls Finished
241+
uses: coverallsapp/github-action@master
242+
with:
243+
github-token: ${{ secrets.github_token }}
244+
parallel-finished: true

0 commit comments

Comments
 (0)