From f14fecbff86e58038b976f9c56ec58d5eb2c1b31 Mon Sep 17 00:00:00 2001 From: lexicalunit Date: Fri, 3 May 2024 13:42:36 -0700 Subject: [PATCH] Fix codecov + xdist --- .coveragerc | 2 ++ pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.coveragerc b/.coveragerc index e9011ae0..75e2803b 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,5 +1,7 @@ [run] branch = True +concurrency = multiprocessing +parallel = true source = . omit = src/spellbot/_version.py diff --git a/pyproject.toml b/pyproject.toml index 96e4b6cd..1f9b2a4e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -112,7 +112,7 @@ safe_licenses = [ [tool.pytest.ini_options] addopts = """ - -W ignore::DeprecationWarning --no-header --cov --cov-report=html -vv + -W ignore::DeprecationWarning --no-header --cov --cov-report xml:coverage.xml --cov-report=html -vv """ [tool.poetry]