Skip to content

Commit

Permalink
test with pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
sinaatalay committed Oct 8, 2023
1 parent 6b6500c commit d866553
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with unittest
- name: Test with pytest
run: |
python -m unittest tests/test_rendercv.py
pip install pytest pytest-cov
pytest tests.py --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html

0 comments on commit d866553

Please sign in to comment.