Replies: 1 comment 6 replies
-
Hello, The code coverage feature is available only in paid linters. As I can see, you use |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there, I'm new to using Qodana and run into a problem with my setup where I use Github Actions and want to test some Python funcitons with Pytest.
I posted the same question to Stackoverflow [here](Code Coverage with pytest and Github Actions - Qodana does not show code coverage), with no success so far.
I tried to set up everything according to
https://www.jetbrains.com/help/qodana/code-coverage.html
The only difference: I'm using pytest instead of unittest, as suggested by the GitHub Actions template. Apart from this I', trying to follow the documentation.
https://github.com/qodana/qodana-coverage/blob/7360c03be1f44a4ed0e591218977005b07dd569e/.github/workflows/python.yml
Below you can find my qodana.yaml and my GitHub Actions yaml. The Action does run, the tests are executed (GitHub Action Screenshot) and an artifact with the report in XML format is uploaded. Problem: Qodana does not seem to use the report at all (see screenshot), the Code Coverage in the top right is still set to "Not Set".
My Question: Does anybody know how I have to configure Qodana in order to display Code Coverage results? The documentation says the default profile should be fine. I have not set any other Qodana profiles, just using the default.
qodana.yaml
GitHub Action yaml
I tried to follow the Qodana documentation to set up code coverage for Python. I expected the code coverage results to show up in the report overview of the Qodana result.
Beta Was this translation helpful? Give feedback.
All reactions