-
Notifications
You must be signed in to change notification settings - Fork 214
locking the coverage file before use #217
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
Comments
Wouldn't the jobs run in separate containers/vms? |
travis jobs run in separate containers/vm's |
also note that coverage has a multi-process mode that works correct - its based on adding pids to coverage files and combining after runs, since anything else does not work without blocking |
Using a distinct |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe, lock the coverage data file with something like https://pypi.org/project/filelock/ before reading/writing it? When using pytest-cov on Travis-CI with --cov-append, several jobs from the job matrix might be using the file concurrently.
The text was updated successfully, but these errors were encountered: