Skip to content

Commit

Permalink
Merge pull request #27 from chazuttu/main
Browse files Browse the repository at this point in the history
Main
  • Loading branch information
chazuttu authored Jul 9, 2021
2 parents b98ca0e + cb9453a commit 9e54dd5
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 1 deletion.
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

0 comments on commit 9e54dd5

Please sign in to comment.