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.

2 Likes

This helped. Correct link:
https://github.com/JuliaGraphics/QML.jl/actions/workflows/test.yml/badge.svg

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.

2 Likes

You are a genius!