pytest-dev/pytest-github-actions-annotate-failures

How to configure?

ilyakamens opened this issue · 8 comments

Hi! I'm having trouble getting this to work. I've installed the plugin via our requirements.txt file. We use docker, and so I set the env var as mentioned. I see the following in the test output:

::error file=foo/tests/unit/test_bar.py,line=13::TestBar.test_fail%0A%0Aassert False

That path looks correct to me. foo is a top-level directory in our repository. Is there something else I need to do to get this to work? We use a Jenkins pipeline + shell command to run tests. Thanks!