-
-
Notifications
You must be signed in to change notification settings - Fork 428
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
coverage combine throws sqlite3.OperationalError: unable to open database file #992
Comments
forgot the output of the error...
|
I'm having this same exact issue, but in Bitbucket Pipelines. |
@shadycuz, did you happen to figure out a workaround? |
@epicserve nope =/, because we are also using codecov, we can just upload both tests seperately and it will combine them for us. So fixing this wasn't high priority. |
@shadycuz, I was able to get this to work on Bitbucket Pipelines but I had do a couple of things. Mainly I had to stop using my custom built docker image that was basically using docker within docker and switched to using a docker image off of docker hub. This is the general gist of my configuration for Bitbucket Pipelines. @nedbat, I think you can probably close this issue because this seems to be a bug related more with how CI systems work. Makefile:
bitbucket-pipelines.yml
|
Describe the bug
When trying to combine two coverage data files I get sqlite exception.
To Reproduce
Try to combine two data files inside a github action?
What version of Python are you using?
CPython (3.8.3)
What version of coverage.py are you using?
pip freeze
is helpful.Private repo, but some pretty generic tests
coverage combine
Expected behavior
I expected the data files to be combined and the command to return a 0 exit code.
Additional context
Running this on github actions but coverage run and coverage xml work fine.
Maybe the sql database isn't created until another command like
coverage run
orcoverage report
is run?Files in the directory...
The text was updated successfully, but these errors were encountered: