summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJules Chéron <jules.cheron@gmail.com>2021-01-20 17:38:43 +0100
committerJules Chéron <jules.cheron@gmail.com>2021-01-20 18:44:24 +0100
commitf08859f9c66dacc295bd6400b46056ffdf5fe2ed (patch)
tree60cf6af59cef217c1d2761a2e17f93c9d68a581d /.github
parent022ebf339e109529e4de0dc167a3e155767769a8 (diff)
downloadpint-f08859f9c66dacc295bd6400b46056ffdf5fe2ed.tar.gz
Fix coveralls upload
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml25
1 files changed, 20 insertions, 5 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 676b456..dc52352 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -75,12 +75,27 @@ jobs:
- name: Coverage report
run: coverage report -m
- finish:
+ - name: Coveralls Parallel
+ env:
+ COVERALLS_FLAG_NAME: ${{ matrix.test-number }}
+ COVERALLS_PARALLEL: true
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ COVERALLS_SERVICE_NAME: github
+ run: |
+ pip install coveralls
+ coveralls
+
+ coveralls:
needs: test
runs-on: ubuntu-latest
steps:
- - name: Coveralls Finished
- uses: coverallsapp/github-action@v1.1.2
+ - uses: actions/setup-python@v2
with:
- github-token: ${{ secrets.GITHUB_TOKEN }}
- parallel-finished: true \ No newline at end of file
+ python-version: 3.x
+ - name: Coveralls Finished
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ COVERALLS_SERVICE_NAME: github
+ run: |
+ pip install coveralls
+ coveralls --finish