Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add parallel test execution to CI with pytest-xdist library #2850

Merged
merged 7 commits into from
Jul 18, 2024

Use "auto" number of CPUs in CI

53b10be
Select commit
Loading
Failed to load commit list.
Merged

Add parallel test execution to CI with pytest-xdist library #2850

Use "auto" number of CPUs in CI
53b10be
Select commit
Loading
Failed to load commit list.
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main) succeeded Jul 17, 2024 in 51s

CodeScene PR Check

Code Health Quality Gates: OK

Change in average Code Health of affected files: -0.00 (8.27 -> 8.27)

  • Improving Code Health: 1 findings(s) ✅

View detailed results in CodeScene

Details

✅ Improving Code Health:

  • Low Cohesion test_writers.py

Annotations

Check notice on line 1 in satpy/tests/test_writers.py

See this annotation in the file changed.

@codescene-delta-analysis codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)

✅ Getting better: Low Cohesion

The number of different responsibilities decreases from 39 to 29, threshold = 4. Cohesion is calculated using the LCOM4 metric. Low cohesion means that the module/class has multiple unrelated responsibilities, doing too many things and breaking the Single Responsibility Principle.