Why is the test button red?

If you look here: GitHub - JuliaGraphics/QML.jl: Build Qt6 QML interfaces for Julia programs.

It says “test failing”. But if you click on the button you can see that the tests are not failing.

What is going on here?

Strange. Can you try re-generating the Markdown code for the badge?

The steps look roughly like this:

  1. Go to your repo
  2. Click on the “Actions” tab
  3. Select the test.yml workflow
  4. Click the “…” button in the top-right corner, and then click on “Create Status Badge”.

Then try copying the Markdown from there, and see if that badge looks correct.


This helped. Correct link:

The word actions was missing.

Do you also have an idea how to fix the ‘Code coverage’ button?

Looks like, at some point in the past, you renamed your repo’s default branch from master to main?

First thing I’d try for the CodeCov badge is to change the branch name in the URL.


You are a genius!