Lisp LogoFork me on GitHub

Github Actions Matrix Badger!

This project's aim is to give all repositories tested by Github Actions a way to show the full build status.

Especially it is useful when tests are running under a "matrix" combinations.

Here is an example of such workflow matrix:

matrix:
  os:
    - ubuntu-latest
    - macos-latest
  quicklisp-dist:
    - quicklisp
    - ultralisp
  lisp:
    - sbcl-bin
    - ccl-bin
    - ecl

Enter the URL of a project to render it's action's matrix:

Preview

Insert this code to README

Markdown

[![](http://github-actions.40ants.com/github/licensed/matrix.svg)](https://github.com/github/licensed)

reStructured Text

.. image:: http://github-actions.40ants.com/github/licensed/matrix.svg
    :target: https://github.com/github/licensed

Raw HTML

<a href="https://github.com/github/licensed">
  <img src="http://github-actions.40ants.com/github/licensed/matrix.svg"/>
</a>

Selecting a subset of the matrix

You can use only parameter to select a subset of workflows and jobs. It should be a comma-separated list of paths, where each path consist of a workflow name, job name and job parameters, separated with dots

For example if the full matrix is:

Then you might want to show only the linter and docs badge. Add this code to SVG URL:

?only=ci.linter,docs

Here ci and docs are names of workflows, and linter is a job's name inside the ci workflow.

All other runs will be filtered and you'll smaller badge:

Also, you might filter runs further providing values for matrix parameters.

For example, if we want to render only a single plate for tests running under Ubuntu OS, and Ultralisp distribution, then we can add ?only=ci.run-tests.ubuntu-latest.ultralisp to the URL and result will be: