55# 2. python 3.6 test and pylint warnings from changed lines
66# 3. pytype (needs Python 3.8 for best results)
77# 4. pyright checks, pytest test report as markdown for GitHub Actions summary
8- envlist = py311-covcombine -check, py36-lint-test, py310-pytype, py311-pyright-mdreport
8+ envlist = py311-covcp -check, py36-lint-test, py310-pytype, py311-pyright-mdreport
99isolated_build = true
1010skip_missing_interpreters = true
1111requires =
@@ -29,8 +29,8 @@ commands =
2929 echo " ::add-matcher::.github/workflows/PYTHONWARNINGS-problemMatcher.json"
3030 pytest --cov -v --new-first -x --show-capture =all -rA
3131 sh -c ' if [ -n "{env:PYTEST_MD_REPORT_OUTPUT}" -a -n "{env:GITHUB_STEP_SUMMARY}" ];then \
32- mkdir -p $(dirname "{env:GITHUB_STEP_SUMMARY:.git/sum.md}"); \
33- sed -i "s/tests\( .*py\) /[&](&)/" {env:PYTEST_MD_REPORT_OUTPUT}; sed "/title/,/ \/ style/d" \
32+ mkdir -p $(dirname "{env:GITHUB_STEP_SUMMARY:.git/sum.md}"); \
33+ sed "s/tests\( .*py\) /[&](&)/" \
3434 {env:PYTEST_MD_REPORT_OUTPUT} >{env:GITHUB_STEP_SUMMARY:.git/sum.md};fi'
3535
3636[testenv]
@@ -121,7 +121,7 @@ extras = coverage
121121commands =
122122 coverage xml -o {envlogdir}/coverage.xml --fail-under {env:XCP_COV_MIN:68}
123123 coverage html -d {envlogdir}/htmlcov
124- coverage html -d {envlogdir}/htmlcov-tests --fail-under {env:TESTS_COV_MIN:96 } \
124+ coverage html -d {envlogdir}/htmlcov-tests --fail-under {env:TESTS_COV_MIN:95 } \
125125 --include =" tests/*"
126126 diff-cover --compare-branch =origin/master --include-untracked \
127127 {env:PY3_DIFFCOVER_OPTIONS} --fail-under {env:DIFF_COV_MIN:92} \
0 commit comments