File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed
Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change 2424 uses : actions/upload-artifact@v4
2525 with :
2626 name : coverage-report
27- path : target/site/jacoco/
28- - name : Generate coverage badge
29- run : |
30- COVERAGE=$(grep -oP '(?<=<td>Total<\/td><td class="bar">)[^<]+' target/site/jacoco/index.html | sed 's/%//')
31- echo "coverage=$COVERAGE" >> $GITHUB_ENV
32- echo "::set-output name=coverage::$COVERAGE"
33- - name : Create coverage badge
34- uses : codecov/codecov-action@v3
35- with :
36- token : ${{ secrets.CODECOV_TOKEN }}
37- files : target/site/jacoco/jacoco.xml
38- fail_ci_if_error : true
27+ path : target/site/jacoco/
Original file line number Diff line number Diff line change 66[ ![ JaCoCo 0.8.x] ( https://img.shields.io/badge/JaCoCo-Coverage-blue.svg )] ( https://www.jacoco.org/jacoco/ )
77
88[ ![ 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 )
9- [ ![ codecov ] ( https://codecov. io/gh/luismr/dictionary-search-anagrams-java/branch/main/graph/badge.svg )] ( https://codecov.io/gh/ luismr/dictionary-search-anagrams-java )
9+ [ ![ Coverage ] ( https://img.shields. io/badge/coverage-80%25-brightgreen )] ( https://github.com/ luismr/dictionary-search-anagrams-java/actions/workflows/maven.yml )
1010
1111A Java library for searching anagrams in a dictionary with different implementations.
1212
You can’t perform that action at this time.
0 commit comments