How to add a "tests passing" badge to GitHub and why you should do it

Testing

This is an arbitrary example of a badge URL:

https://github.com/eugenefvdm/project/actions/workflows/run-tests.yml/badge.svg

What's important to note apart from the actual project name in the `project` placeholder is `run-tests.yml`. If you're working on many projects, and to retain consistency, it is good to name your test runners the same.

Here is the full markdown:

![Tests](https://github.com/eugenefvdm/project/actions/workflows/run-tests.yml/badge.svg)
lang-markdown

This will output this beautiful SVG badge which you can wear with pride and joy:

image.png 3.58 KB