changeset 6943:3b081f5c8fc2

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.
author John Rouillard <rouilj@ieee.org>
date Sat, 10 Sep 2022 20:17:35 -0400
parents e09095701620
children 42a252f477f3
files .github/workflows/ci-test.yml
diffstat 1 files changed, 19 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml	Thu Sep 08 20:21:35 2022 -0400
+++ b/.github/workflows/ci-test.yml	Sat Sep 10 20:17:35 2022 -0400
@@ -197,6 +197,7 @@
             # python2 case
             pytest -v -r a test/ --cov=roundup
           fi
+          coverage lcov
 
       - name: Upload coverage to Codecov
         # see: https://github.com/codecov/codecov-action#usage
@@ -205,7 +206,12 @@
           verbose: true
           token: ${{ secrets.CODECOV_TOKEN }}
 
-      - name: test build_doc
+    - name: Upload coverage to Coveralls
+      uses: coverallsapp/github-action@master
+      with:
+        github-token: ${{ secrets.GITHUB_TOKEN }}
+
+    - name: test build_doc
         run: |
           python ./setup.py build_doc
 
@@ -224,3 +230,15 @@
       #  run: |
       #     docker build -t roundup-app-rel --build-arg="source=pypi" \
       #         -f scripts/Docker/Dockerfile . 
+
+
+  # in parallel build codecov requires a finish step
+  finish:
+    needs: test
+    runs-on: ubuntu-latest
+    steps:
+      - name: Coveralls Finished
+        uses: coverallsapp/github-action@master
+        with:
+          github-token: ${{ secrets.github_token }}
+          parallel-finished: true

Roundup Issue Tracker: http://roundup-tracker.org/