Continue GitHub Actions Test workflow on error sending coverage
authorHarmon <Harmon758@gmail.com>
Mon, 20 Sep 2021 08:36:49 +0000 (03:36 -0500)
committerHarmon <Harmon758@gmail.com>
Mon, 20 Sep 2021 08:39:34 +0000 (03:39 -0500)
This allows tests to pass even when sending coverage to Coveralls fails, e.g. due to https://status.coveralls.io/incidents/ppvnbpd172gy

.github/workflows/test.yml

index 8a664b8b5997429534d37321689f9e077b484376..48ff4017f1df84fb0bfdef9f3fa1c77940d12d72 100644 (file)
@@ -23,6 +23,7 @@ jobs:
         run: |
           python setup.py nosetests
       - name: Send coverage to Coveralls
+        continue-on-error: true
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
           COVERALLS_FLAG_NAME: python-${{ matrix.python-version }}
@@ -38,6 +39,7 @@ jobs:
     container: python:3-slim
     steps:
     - name: Finish sending coverage to Coveralls
+      continue-on-error: true
       env:
         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
       run: |