[GRASS-git] [OSGeo/grass] 9defa4: tests: Display pytest failures as annotations in G...

Edouard Choinière noreply at github.com
Tue Nov 7 07:45:38 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 9defa469f5ae2b0e7dc8719c09c0f9dbfb107504
      https://github.com/OSGeo/grass/commit/9defa469f5ae2b0e7dc8719c09c0f9dbfb107504
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
    M .github/workflows/pytest.yml
    M .github/workflows/python-code-quality.yml

  Log Message:
  -----------
  tests: Display pytest failures as annotations in GitHub Actions (#3207)

Add a pytest plugin that bridges the pytest failures and special log format that is understood by GitHub Actions creating annotations in GitHub PRs. This avoids browsing the log or navigating IDE when locating the failing piece of code in question. While some Pylint-detected issues may show line 1 instead of the actual line, annotation is still helpful as a first step in learning about the detected issue.




More information about the grass-commit mailing list