pytest-github-actions-annotate-failures icon indicating copy to clipboard operation
pytest-github-actions-annotate-failures copied to clipboard

`test_annotation_pytest_error` fails on `main` branch

Open amezin opened this issue 2 years ago • 1 comments

  Failed:  nomatch: '::error file=test_annotation_pytest_error\\.py,line=8::test_error.*'
       and: ''
       and: '::error file=test_annotation_pytest_error.py,line=1168::test_error%0A%0AFailed: Fixture "fixture" called directly. Fixtures are not meant to be called directly,%0Abut are created automatically when test functions request them as parameters.%0ASee https://docs.pytest.org/en/stable/explanation/fixtures.html for more information about fixtures, and%0Ahttps://docs.pytest.org/en/stable/deprecations.html#calling-fixtures-directly about how to update your code.'
  remains unmatched: '::error file=test_annotation_pytest_error\\.py,line=8::test_error.*'

https://github.com/amezin/pytest-github-actions-annotate-failures/actions/runs/5683449264/job/15404043739

amezin avatar Jul 27 '23 17:07 amezin

Not surprising, given that the code takes the file name from one source, and the line number from another source (and possibly a different file). Not sure how it's supposed to work.

amezin avatar Jul 28 '23 11:07 amezin