Skip to content

Commit d3c0d24

Browse files
committed
always enabled whether or not in GitHub Actions workflow
1 parent 46ef9b4 commit d3c0d24

File tree

1 file changed

+0
-5
lines changed
  • pytest_github_actions_annotate_failures

1 file changed

+0
-5
lines changed

pytest_github_actions_annotate_failures/plugin.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
import os
22

33
def pytest_runtest_logreport(report):
4-
# enable only in a workflow of GitHub Actions
5-
# ref: https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables#default-environment-variables
6-
if not os.environ.get('GITHUB_ACTIONS'):
7-
return
8-
94
if report.outcome != 'failed':
105
return
116

0 commit comments

Comments
 (0)