Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main #27

Merged
merged 5 commits into from
Jul 9, 2021
Merged

Main #27

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[run]

omit =
*cot*
*iibb*
*nsis*
*/padron.py
*pyemail*
*pyfepdf*
*pyi25*
*pyqr*
*rece1*
*receb1*
*recem*
*recet*
*recex1*
*rg3685*
*setup_win*
*sired*
*setup*
*trazafito*
*trazamed*
*trazaprodmed*
*trazarenpre*
*trazavet*
*utils*
*wdigdepfiel*
*ws_sire*
*wscoc*
*wsctg*
*wsfecred*
*wslpg*
*wslpg_datos*
*wsremazucar*
*wsremharina*
10 changes: 10 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,13 @@ jobs:
with:
name: report.html
path: report.html

- name: Coverage Report
run: |
pytest --cov-config=.coveragerc --cov-report=html --cov=pyafipws tests/
- name: Upload coverage report
uses: actions/upload-artifact@v2
if: ${{ always() }}
with:
name: Coverage_Report
path: htmlcov
3 changes: 2 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ pytest==4.6.11; python_version <= '2.7'
pytest==6.2.3; python_version > '3'
pytest-html==1.22.1; python_version <= '2.7'
pytest-html==3.1.1; python_version > '3'
pytest-vcr==1.0.2
pytest-vcr==1.0.2
pytest-cov==2.12.1