Skip to content

Commit d28d04e

Browse files
author
Marat Akhmetov
committed
[DOP-23126] added badge
1 parent 8504f10 commit d28d04e

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.github/workflows/tests.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,5 +138,16 @@ jobs:
138138
xml-skip-covered: true
139139
report-only-changed-files: true
140140

141+
142+
- name: Dynamic Badges
143+
uses: schneegans/[email protected]
144+
with:
145+
auth: ${{ secrets.AUTOMERGE_TOKEN }}
146+
gistID: 84cab773d11e789dc69b5edd6ece18f3
147+
filename: syncmaster_badge.json
148+
label: Coverage
149+
message: ${{ steps.coverage.outputs.coverage }}
150+
color: ${{ steps.coverage.outputs.color }}
151+
141152
- name: All done
142153
run: echo 1

README.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ Data.SyncMaster
2020
:target: https://syncmaster.readthedocs.io
2121
.. |Build Status| image:: https://github.com/MobileTeleSystems/syncmaster/workflows/Run%20All%20Tests/badge.svg
2222
:target: https://github.com/MobileTeleSystems/syncmaster/actions
23-
.. |Coverage| image:: https://codecov.io/gh/MobileTeleSystems/syncmaster/graph/badge.svg?token=ky7UyUxolB
24-
:target: https://codecov.io/gh/MobileTeleSystems/syncmaster
23+
.. |Coverage| image:: https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/
24+
MTSOnGithub/84cab773d11e789dc69b5edd6ece18f3/raw/9e26dfeeb6e641a33dae4961196235bdb965b21b/syncmaster_badge.json
25+
:target: https://github.com/MobileTeleSystems/syncmaster/actions
2526
.. |pre-commit.ci| image:: https://results.pre-commit.ci/badge/github/MobileTeleSystems/syncmaster/develop.svg
2627
:target: https://results.pre-commit.ci/latest/github/MobileTeleSystems/syncmaster/develop
2728

0 commit comments

Comments
 (0)