Skip to content

Commit 8b32a4f

Browse files
committed
chore: fix perf degradation in tests
There was a perf degradation in tests for Python 3.12 with coverage. Setting to COVERAGE_CORE=sysmon helped.
1 parent a88f51d commit 8b32a4f

File tree

7 files changed

+13
-0
lines changed

7 files changed

+13
-0
lines changed

packages/gooddata-dbt/tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ package = wheel
88
wheel_build_env = .pkg
99
dependency_groups =
1010
test
11+
setenv =
12+
COVERAGE_CORE=sysmon
1113
commands =
1214
pytest -v --cov=src/gooddata_dbt --cov-report=xml tests {posargs}
1315

packages/gooddata-fdw/tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ package = wheel
88
wheel_build_env = .pkg
99
dependency_groups =
1010
test
11+
setenv =
12+
COVERAGE_CORE=sysmon
1113
commands =
1214
pytest -v --cov=src/gooddata_fdw --cov-report=xml tests {posargs}
1315

packages/gooddata-flexconnect/tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ deps =
1212
-e../tests-support
1313
setenv=
1414
PYTHONDONTWRITEBYTECODE=1
15+
COVERAGE_CORE=sysmon
1516
commands =
1617
uv pip install --group test
1718
pytest -v --cov=src/gooddata_flexconnect --cov-report=xml tests {posargs}

packages/gooddata-flight-server/tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ package = wheel
88
wheel_build_env = .pkg
99
dependency_groups =
1010
test
11+
setenv =
12+
COVERAGE_CORE=sysmon
1113
commands =
1214
pytest -v --cov=src/gooddata_flight_server --cov-report=xml tests {posargs}
1315

packages/gooddata-pandas/tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ package = wheel
88
wheel_build_env = .pkg
99
dependency_groups =
1010
test
11+
setenv =
12+
COVERAGE_CORE=sysmon
1113
commands =
1214
pytest -v --cov=src/gooddata_pandas --cov-report=xml tests {posargs}
1315

packages/gooddata-pipelines/tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ package = wheel
88
wheel_build_env = .pkg
99
dependency_groups =
1010
test
11+
setenv =
12+
COVERAGE_CORE=sysmon
1113
commands =
1214
pytest -v --cov=src/gooddata_pipelines --cov-report=xml tests {posargs}
1315

packages/gooddata-sdk/tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ package = wheel
88
wheel_build_env = .pkg
99
dependency_groups =
1010
test
11+
setenv =
12+
COVERAGE_CORE=sysmon
1113
commands =
1214
pytest -v --cov=src/gooddata_sdk --cov-report=xml tests {posargs}
1315

0 commit comments

Comments
 (0)