diff --git a/.github/badges/branches.svg b/.github/badges/branches.svg
deleted file mode 100644
index 381f6d0..0000000
--- a/.github/badges/branches.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/.github/badges/jacoco.svg b/.github/badges/jacoco.svg
deleted file mode 100644
index 04936fc..0000000
--- a/.github/badges/jacoco.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/.github/workflows/onPushSimpleTest.yml b/.github/workflows/onPushSimpleTest.yml
index eb06ae9..1fb580b 100644
--- a/.github/workflows/onPushSimpleTest.yml
+++ b/.github/workflows/onPushSimpleTest.yml
@@ -31,26 +31,18 @@ jobs:
env:
OSSRH_ARTIFACTORY_USER: ${{ secrets.OSSRH_ARTIFACTORY_USER }}
OSSRH_ARTIFACTORY_API_TOKEN: ${{ secrets.OSSRH_ARTIFACTORY_API_TOKEN }}
- - name: Generate JaCoCo Badge
- id: jacoco
- uses: cicirello/jacoco-badge-generator@v2.0.1
- 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 the badge (if it changed)
- run: |
- if [[ `git status --porcelain` ]]; then
- git config --global user.name 'baubakg'
- git config --global user.email 'baubakg@users.noreply.github.com'
- git add -A
- git commit -m "Autogenerated JaCoCo coverage badge"
- git push
- fi
+ - name: publish coverage onto codecov
+ uses: codecov/codecov-action@v1
+ with:
+ file: ./**/target/site/jacoco/jacoco.xml
+ name: codecov
+ token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload JaCoCo coverage report
uses: actions/upload-artifact@v2
diff --git a/README.md b/README.md
index 9eed88d..10f89b0 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,6 @@
# log-parser
[](https://github.com/adobe/log-parser/actions/workflows/onPushSimpleTest.yml)
-
-
+[](https://codecov.io/gh/adobe/log-parser)
This project was created to allow us to parse and analyze log files in order to gather relevant data. It can be used as is or as an SDK. Where you can define your own parsing.