Skip to content

Trac: Link to Github actions results, in particular for linters #30877

@mkoeppe

Description

@mkoeppe

Follow-up from #30404 (Add pyright and pycodestyle checks as Github actions):

What is left to do is to add the integration of the github action output to trac. That can be done as follows:

  1. Sync trac branches to sagetrac-mirror (by post-commit hook)
  2. Activate github actions in the sagetrac-mirror github repo
  3. Add the following code to either the patchbot output or to the trac ticket header (next to the patchbot button)
<a href="https://github.com/sagemath/sagetrac-mirror/actions?query=workflow%3ALint+branch%3BRANCH"><img src="https://github.com/sagemath/sagetrac-mirror/workflows/Lint/badge.svg?branch=BRANCH&event=push"/></a>

Here BRANCH needs to be replaced by the branch.
Giving something similar to

As this requires rights to the github repo and trac config, I cannot do this and have to leave it to somebody else.

CC: @dimpase @fchapoton @embray

Component: website/wiki

Issue created by migration from https://trac.sagemath.org/ticket/30877

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions