Skip to content

Introduce flag to comment summary on PR #1368

Introduce flag to comment summary on PR

Introduce flag to comment summary on PR #1368

GitHub Actions / Example Multi Pytest Report failed Aug 30, 2024 in 0s

3 tests run, 1 passed, 0 skipped, 2 failed.

Custom Summary

Annotations

Check failure on line 10 in test_results/python/test_sample.py

See this annotation in the file changed.

@github-actions github-actions / Example Multi Pytest Report

\n

AssertionError: assert 'test' == 'xyz'
  - xyz
  + test
Raw output
def test_which_fails():
        event = { 'attr': 'test'}
>       assert event['attr'] == 'xyz'
E       AssertionError: assert 'test' == 'xyz'
E         - xyz
E         + test

python/test_sample.py:10: AssertionError

Check failure on line 14 in test_results/python/test_sample.py

See this annotation in the file changed.

@github-actions github-actions / Example Multi Pytest Report

\n

AttributeError: 'dict' object has no attribute 'attr'
Raw output
def test_with_error():
        event = { 'attr': 'test'}
>       assert event.attr == 'test'
E       AttributeError: 'dict' object has no attribute 'attr'

python/test_sample.py:14: AttributeError