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

no coverage file when run python file with supervisor #1719

Open
bling-star-hub opened this issue Dec 19, 2023 · 0 comments
Open

no coverage file when run python file with supervisor #1719

bling-star-hub opened this issue Dec 19, 2023 · 0 comments
Labels
bug Something isn't working needs triage

Comments

@bling-star-hub
Copy link

bling-star-hub commented Dec 19, 2023

Describe the bug
Below is how my code running:

  1. Firstly, run a bash script in supervisor.conf:
    image

  2. Secondly, use coverage run a python file in bash script:
    coverage run --rcfile=<path/to/coverage/configuration/file> main.py <parameters>

3.the coverage configuration file like this:
image

However, we just can see a coverage debug file in specified path, no coverage file created.
If run the bash script directly, the coverage file will be created in that path.

Our python and coverage version:
python: 3.8.10 and coverage: 7.2.7

@bling-star-hub bling-star-hub added bug Something isn't working needs triage labels Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

1 participant