Skip to content

Commit e1b4c36

Browse files
committed
CI - add coverage on api tests
1 parent fee0e57 commit e1b4c36

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/.tests-and-publish-python.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,15 @@ jobs:
8080
if: matrix.python-version == '3.10'
8181
run: pytest fittrackee -n auto --maxprocesses=2 -p no:warnings --cov fittrackee --cov-report term-missing --maxfail=1
8282

83+
- name: Coveralls
84+
if: ${{ matrix.python-version == '3.10' && github.repository == 'SamR1/FitTrackee' }}
85+
env:
86+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
87+
run: |
88+
pip install coveralls
89+
git config --global --add safe.directory "$GITHUB_WORKSPACE"
90+
coveralls --service=github-actions
91+
8392
- name: Pytest
8493
if: matrix.python-version != '3.10'
8594
run: pytest fittrackee -n auto --maxprocesses=2 -p no:warnings --maxfail=1

0 commit comments

Comments
 (0)