-
-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
I've tried add comment covarege but no comment with report was generated. At workflow debugger i've find this output...
Run pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=app Parser/tests/ | tee pytest-coverage.txt
ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --cov-report=term-missing:skip-covered --cov=app
inifile: /home/runner/work/CI-CD-pipeline/CI-CD-pipeline/Parser/pytest.ini
rootdir: /home/runner/work/CI-CD-pipeline/CI-CD-pipeline/Parser
I've try run pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=app Parser/tests/ | tee pytest-coverage.txt
and catch some errors. With these commands file wouldn't create! And it will influence on next steps
I mean that README description is misleading users to use pytest with incorrect arguments
pytest==8.1.1
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation