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

Plugin is triggered outside the github action

Cjkjvfnby opened this issue · 1 comments

I have a file with test requirements because I want to have all requirements in one place. So I end up with plugin installed on my machine. When I run tests, I got an annotation output locally.

My problem that I don't want to have an additional step with plugin installation in action configuration.

I expect that output will be added only when running on CI.

I have seen this feature in the TeamCity pluging.

It is easy to achieve it by using env variable CI.

I can implement it myself and send you a PR if you want.

My bad mixed with my setup.