mirror of
https://github.com/rendercv/rendercv.git
synced 2026-05-01 04:15:47 -04:00
test with pytest
This commit is contained in:
5
.github/workflows/python-tests.yml
vendored
5
.github/workflows/python-tests.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user