GH-184: ignore incompatible XML reports #459
GitHub Actions / Example Pytest Report
failed
Jan 12, 2024 in 0s
3 tests run, 0 skipped, 2 failed.
Annotations
Check failure on line 10 in integration-tests/python/test_sample.py
github-actions / Example Pytest Report
test_sample.test_which_fails
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
integration-tests/python/test_sample.py:10: AssertionError
Check failure on line 14 in integration-tests/python/test_sample.py
github-actions / Example Pytest Report
test_sample.test_with_error
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'
integration-tests/python/test_sample.py:14: AttributeError
Loading