Skip to content

Commit 0916191

Browse files
authored
use name-independent github actions badge (#11628)
if we were ever to change the `name:` field in `test.yml` this would suddenly break -- this references the workflow file directly (and is what github generates now for badges)
1 parent 476bab8 commit 0916191

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
:target: https://codecov.io/gh/pytest-dev/pytest
2121
:alt: Code coverage Status
2222

23-
.. image:: https://github.com/pytest-dev/pytest/workflows/test/badge.svg
23+
.. image:: https://github.com/pytest-dev/pytest/actions/workflows/test.yml/badge.svg
2424
:target: https://github.com/pytest-dev/pytest/actions?query=workflow%3Atest
2525

2626
.. image:: https://results.pre-commit.ci/badge/github/pytest-dev/pytest/main.svg

0 commit comments

Comments
 (0)