Skip to content

Commit 69e6964

Browse files
committed
act: adding coverage upload
1 parent f89426e commit 69e6964

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,23 @@ jobs:
7676
run: python setup.py develop
7777
- name: Run pytest
7878
run: make test_novcr
79-
- name: Coverage report
80-
run: make coverage_report
79+
# - name: Coverage Report ${{ matrix.python-version }}
80+
# run: make coverage_report
81+
- name: Upload coverage data to coveralls.io
82+
run: coveralls --service=github
83+
env:
84+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
85+
COVERALLS_FLAG_NAME: ${{ matrix.python-version }}
86+
COVERALLS_PARALLEL: true
87+
coveralls:
88+
name: Indicate completion to coveralls.io
89+
needs: tests
90+
runs-on: ubuntu-latest
91+
container: python:3-slim
92+
steps:
93+
- name: Finished
94+
run: |
95+
pip3 install --upgrade coveralls
96+
coveralls --finish
97+
env:
98+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Upload Python Package
33

44
on:
55
release:
6-
types: [created]
6+
types: [ published ]
77

88
jobs:
99
deploy:

0 commit comments

Comments
 (0)