use faster coverage (#5657)

* use faster coverage

* chore: disable branch for faster line coverage on py312+
This commit is contained in:
Noorhteen Raja NJ 2024-08-09 15:49:36 +05:30 committed by GitHub
parent ebb3b9b33d
commit bc8faa4e94
Failed to generate hash of commit
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,5 @@
[run] [run]
branch = true #branch = true
source = source =
xonsh/ xonsh/
xontrib/ xontrib/

View file

@ -45,6 +45,7 @@ def test(
""" """
if report_cov: if report_cov:
$COVERAGE_CORE="sysmon"
![pytest @(_replace_args(pytest_args, 0)) --cov --cov-report=xml --cov-report=term] ![pytest @(_replace_args(pytest_args, 0)) --cov --cov-report=xml --cov-report=term]
else: else:
# during CI run, some tests take longer to complete on windows # during CI run, some tests take longer to complete on windows