File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737permissions :
3838 contents : read
3939 actions : read
40+ pull-requests : write
4041jobs :
4142 backend_tests :
4243 runs-on : ubuntu-latest
7374 if : env.skip_backend_tests == 'false'
7475 run : |
7576 cd src/tests/ContentProcessor
76- python -m pytest . --ignore=libs/test_models_and_entities.py --ignore=libs/test_utils_coverage_boost.py --ignore=libs/test_final_push_80.py --cov-config=.coveragerc --cov=../../ContentProcessor/src --cov-report=xml --cov-report=term --cov-fail-under=80
77+ python -m pytest . --ignore=libs/test_models_and_entities.py --ignore=libs/test_utils_coverage_boost.py --ignore=libs/test_final_push_80.py --cov-config=.coveragerc --cov=../../ContentProcessor/src --cov-report=xml --cov-report=term --cov-fail-under=80 --junitxml=pytest.xml
78+
79+ - name : Pytest Coverage Comment
80+ if : |
81+ always() &&
82+ github.event_name == 'pull_request' &&
83+ github.event.pull_request.head.repo.fork == false &&
84+ env.skip_backend_tests == 'false'
85+ uses : MishaKav/pytest-coverage-comment@26f986d2599c288bb62f623d29c2da98609e9cd4 # v1.6.0
86+ with :
87+ pytest-xml-coverage-path : src/tests/ContentProcessor/coverage.xml
88+ junitxml-path : src/tests/ContentProcessor/pytest.xml
89+ report-only-changed-files : true
7790
7891 - name : Skip Backend Tests
7992 if : env.skip_backend_tests == 'true'
You can’t perform that action at this time.
0 commit comments