File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -622,5 +622,18 @@ jobs:
622
622
- name : Report executed
623
623
run : |
624
624
cr-report session.sqlite | tail -n 3
625
- - name : Check mutation level
625
+ - name : Check survival estimate
626
626
run : cr-rate --estimate --fail-over 32 --confidence 99.9 session.sqlite
627
+ - name : Get mutation score
628
+ run : echo "MUT_SCORE=$(python -c 'print(100-$(cr-rate session.sqlite))')" >> $GITHUB_ENV
629
+ - name : Create mutation score badge
630
+ uses :
schneegans/[email protected]
631
+ with :
632
+ auth : ${{ secrets.GIST_SECRET }}
633
+ gistID : 9b6ca1f3410207fbeca785a178781651
634
+ filename : python-ecdsa-mutation-score.json
635
+ label : mutation score
636
+ message : ${{ env.MUT_SCORE }}%
637
+ valColorRange : ${{ env.MUT_SCORE }}
638
+ maxColorRange : 100
639
+ minColorRange : 0
Original file line number Diff line number Diff line change 4
4
[ ![ Documentation Status] ( https://readthedocs.org/projects/ecdsa/badge/?version=latest )] ( https://ecdsa.readthedocs.io/en/latest/?badge=latest )
5
5
[ ![ Coverage Status] ( https://coveralls.io/repos/github/tlsfuzzer/python-ecdsa/badge.svg?branch=master )] ( https://coveralls.io/github/tlsfuzzer/python-ecdsa?branch=master )
6
6
![ condition coverage] ( https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/tomato42/9b6ca1f3410207fbeca785a178781651/raw/python-ecdsa-condition-coverage.json )
7
+ ![ mutation score] ( https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/tomato42/9b6ca1f3410207fbeca785a178781651/raw/python-ecdsa-mutation-score.json )
7
8
[ ![ CodeQL] ( https://github.com/tlsfuzzer/python-ecdsa/actions/workflows/codeql.yml/badge.svg )] ( https://github.com/tlsfuzzer/python-ecdsa/actions/workflows/codeql.yml )
8
9
[ ![ Latest Version] ( https://img.shields.io/pypi/v/ecdsa.svg?style=flat )] ( https://pypi.python.org/pypi/ecdsa/ )
9
10
![ Code style: black] ( https://img.shields.io/badge/code%20style-black-000000.svg?style=flat )
You can’t perform that action at this time.
0 commit comments