File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 2727 path : target/site/jacoco/
2828 - name : Generate coverage badge
2929 run : |
30- COVERAGE=$(grep -oP '(?<=<td>Total<\/td><td class="bar">)[^<]+' target/site/jacoco/index.html)
30+ COVERAGE=$(grep -oP '(?<=<td>Total<\/td><td class="bar">)[^<]+' target/site/jacoco/index.html | sed 's/%//' )
3131 echo "coverage=$COVERAGE" >> $GITHUB_ENV
32+ echo "::set-output name=coverage::$COVERAGE"
3233 - name : Create coverage badge
3334 uses :
schneegans/[email protected] 3435 with :
Original file line number Diff line number Diff line change 55[ ![ JUnit 5] ( https://img.shields.io/badge/JUnit-5-blue.svg )] ( https://junit.org/junit5/ )
66[ ![ JaCoCo 0.8.x] ( https://img.shields.io/badge/JaCoCo-Coverage-blue.svg )] ( https://www.jacoco.org/jacoco/ )
77[ ![ Build Status] ( https://github.com/luismr/dictionary-search-anagrams-java/actions/workflows/maven.yml/badge.svg )] ( https://github.com/luismr/dictionary-search-anagrams-java/actions/workflows/maven.yml )
8- [ ![ Coverage] ( https://github.com/luismr/dictionary-search-anagrams-java/blob/main/badges/coverage.svg )] ( https://github.com/luismr/dictionary-search-anagrams-java/actions/workflows/maven.yml )
8+ [ ![ Coverage] ( https://img.shields.io/badge/coverage-80%25-brightgreen )] ( https://github.com/luismr/dictionary-search-anagrams-java/actions/workflows/maven.yml )
99
1010A Java library for searching anagrams in a dictionary with different implementations.
1111
You can’t perform that action at this time.
0 commit comments