MAKENTNU / web

The website of the student organization MAKE NTNU, built with Django.
https://makentnu.no
MIT License
9 stars 5 forks source link

Add job to summarize GitHub workflow test jobs #618

Closed ddabble closed 1 year ago

ddabble commented 1 year ago

Proposed changes

Added a job to python.yml to summarize the previous test jobs in the workflow. This enables adding the name of just one workflow job under the "Require status checks to pass before merging" setting for the branch protection rule of the main branch (for admins: see https://github.com/MAKENTNU/web/settings/branches). The alternative before this, was to add the name of each generated workflow matrix job (currently "Python 3.10" and "Python 3.11"), which has the obvious downside of requiring being updated every time we change Python version numbers.

Also renamed the build job to the more fitting name test.

Areas to review closely

None in particular.

Checklist

(If any of the points are not relevant, mark them as checked)