add coveralls

This commit is contained in:
alessandro.molina 2022-03-24 16:06:17 -04:00
parent 1bad5c44e0
commit 6caa413456
1 changed files with 5 additions and 4 deletions

View File

@ -19,11 +19,12 @@ jobs:
python -m pip install --upgrade pip
pip install -U --upgrade-strategy=eager --pre -e .[testing,webassets]
pip install 'pycparser==2.18'
pip install 'coveralls'
- name: Test with pytest
run: |
pytest -v --cov=dukpy --cov-report=term-missing
- name: Publish to coveralls.io
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ github.token }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
pip install 'coveralls'
coveralls