We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
pytest_runtest_logreport
1 parent d1a4b30 commit b7d9462Copy full SHA for b7d9462
pytest_github_actions_annotate_failures/plugin.py
@@ -23,12 +23,7 @@
23
# https://github.com/pytest-dev/pytest/blob/master/src/_pytest/terminal.py
24
25
26
-@pytest.hookimpl(tryfirst=True, hookwrapper=True)
27
-def pytest_runtest_makereport(item: Item, call): # noqa: ARG001
28
- # execute all other hooks to obtain the report object
29
- outcome = yield
30
- report: CollectReport = outcome.get_result()
31
-
+def pytest_runtest_logreport(report):
32
# enable only in a workflow of GitHub Actions
33
# ref: https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables#default-environment-variables
34
if os.environ.get("GITHUB_ACTIONS") != "true":
0 commit comments