diff --git a/.github/badges/branches.svg b/.github/badges/branches.svg
new file mode 100644
index 0000000..350812c
--- /dev/null
+++ b/.github/badges/branches.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/.github/badges/jacoco.svg b/.github/badges/jacoco.svg
new file mode 100644
index 0000000..e63c9cd
--- /dev/null
+++ b/.github/badges/jacoco.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 4e81b6e..7609a27 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -34,6 +34,18 @@ jobs:
uses: cicirello/jacoco-badge-generator@v2
with:
generate-branches-badge: true
+
+ - name: Log coverage percentage
+ run: |
+ echo "coverage = ${{ steps.jacoco.outputs.coverage }}"
+ echo "branch coverage = ${{ steps.jacoco.outputs.branches }}"
+
+ - name: Commit and push the badge (if it changed)
+ uses: EndBug/add-and-commit@v7
+ with:
+ default_author: github_actions
+ message: 'commit badge'
+ add: '*.svg'
- name: Update dependency graph
uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
diff --git a/README.md b/README.md
index 684013e..5588f51 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# phonet4java
-[](https://travis-ci.org/jze/phonet4java)
-[](https://codecov.io/gh/jze/phonet4java)
+
+
The project provides Java implementations for several phonetic algorithms like: