Skip to content

Conversation

@mosc9575
Copy link
Contributor

@mosc9575 mosc9575 commented Dec 2, 2025

I was following the instruction on on how to add a status badge. I hope this changes will reactivate the status badge on the readme, so it will be easier to see, if the last run of the workflow was successful.

I also fixed some minor issues.

[x] fixes #591


Status for internal tests
^^^^^^^^^^^^^^^^^^^^^^^^^

.. image:: https://github.com/Pyomo/mpi-sppy/workflows/pyotracker/badge.svg
:target: https://github.com/Pyomo/mpi-sppy/actions/workflows/pyotracker.yml
[![pyo tracker](https://github.com/Pyomo/mpi-sppy/actions/workflows/pyotracker.yml/badge.svg)](https://github.com/Pyomo/mpi-sppy/actions/workflows/pyotracker.yml)
Copy link
Collaborator

@bknueven bknueven Dec 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2025-12-02 at 10 52 19 AM
Suggested change
[![pyo tracker](https://github.com/Pyomo/mpi-sppy/actions/workflows/pyotracker.yml/badge.svg)](https://github.com/Pyomo/mpi-sppy/actions/workflows/pyotracker.yml)
[![pyo tracker](https://github.com/Pyomo/mpi-sppy/actions/workflows/pyotracker.yml/badge.svg)](https://github.com/Pyomo/mpi-sppy/actions/workflows/pyotracker.yml)]

Is this missing a right bracket? I have to admit I'm not fluent in RST..

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no missing bracket. The closing braket is at position 93.

The syntax is [![description]( link to svg )]( link to workflow ). The commited line follows this syntax.

I followed the instruction and the lines are copied from the github page and is generated by github. So I hope it is working.

I tried to check the preview and have seen the same strange behavior like in the picture. If it is not working I will search for a different approach.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know the reason. The file has to be named README.md not README.rst. I will rename the file and than the changes should work.

Highlighting and formatting ist done by markdown (MD) instead of ReStructuredText (RST).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reactivate status badge on readme

2 participants