Skip to content

Set number of cores to 1 when running tests #11

@redeboer

Description

@redeboer

As noted in ComPWA/expertsystem#108 and ComPWA/expertsystem#138, test coverage as computed by pytest-cov decreases if running on multiple cores. This causes a mismatch of test coverage computed on CI and computed locally (if run on multiple cores). It would be better if all tests run single core. Question is, how to do this in a DRY way?

Current proposal:

Metadata

Metadata

Assignees

Labels

🖱️ DXImprovements to the Developer Experience

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions