This is an automated email from the ASF dual-hosted git repository.

mboehm7 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git


The following commit(s) were added to refs/heads/main by this push:
     new 0f1c99c3ac [SYSTEMDS-3529] Codecov badge and PyPI downloads badges in 
README
0f1c99c3ac is described below

commit 0f1c99c3ac6f28aff571121b4b638e0efae33414
Author: evelina <coffe...@yandex.ru>
AuthorDate: Tue Jun 4 12:54:57 2024 +0200

    [SYSTEMDS-3529] Codecov badge and PyPI downloads badges in README
    
    AMLS SoSe'24 project
    Closes #2029.
---
 .github/workflows/javaTests.yml | 10 +++++++++-
 README.md                       |  5 ++++-
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/javaTests.yml b/.github/workflows/javaTests.yml
index db2511d1a6..58186ae306 100644
--- a/.github/workflows/javaTests.yml
+++ b/.github/workflows/javaTests.yml
@@ -140,12 +140,20 @@ jobs:
     - name: Merge Jacoco Artifacts
       run: mvn jacoco:merge
 
-    - name: Process Classes 
+    - name: Process Classes
       run: mvn process-classes
 
     - name: Generate Code Coverage Report
       run: mvn jacoco:report
 
+    - name: Upload coverage to Codecov
+      uses: codecov/codecov-action@v4
+      if: github.repository_owner == 'apache'
+      with:
+        fail_ci_if_error: false
+        files: target/site/jacoco/jacoco.xml
+        token: ${{ secrets.CODECOV_TOKEN }}
+
     - name: Upload Jacoco Report Artifact PR
       if: (github.repository_owner == 'apache') && (github.ref_name != 'main')
       uses: actions/upload-artifact@v4
diff --git a/README.md b/README.md
index 21002a6a66..befa4b2364 100644
--- a/README.md
+++ b/README.md
@@ -39,9 +39,12 @@ Resource | Links
 
 **Status and Build:** SystemDS is renamed from SystemML which is an **Apache 
Top Level Project**.
 To build from source visit [SystemDS Install from 
source](https://apache.github.io/systemds/site/install.html)
-  
+
 
[![Build](https://github.com/apache/systemds/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/apache/systemds/actions/workflows/build.yml)
 
[![Documentation](https://github.com/apache/systemds/actions/workflows/documentation.yml/badge.svg?branch=main)](https://github.com/apache/systemds/actions/workflows/documentation.yml)
 
[![LicenseCheck](https://github.com/apache/systemds/actions/workflows/license.yml/badge.svg?branch=main)](https://github.com/apache/systemds/actions/workflows/license.yml)
 [![Java 
Tests](https://github.com/apache/systemds/actions/workflows/javaTests.yml/badge.svg?branch=main)](https://github.com/apache/systemds/actions/workflows/javaTests.yml)
+[![codecov](https://codecov.io/gh/apache/systemds/graph/badge.svg)](https://codecov.io/gh/apache/systemds)
 [![Python 
Test](https://github.com/apache/systemds/actions/workflows/python.yml/badge.svg?branch=main)](https://github.com/apache/systemds/actions/workflows/python.yml)
+[![Total PyPI 
downloads](https://static.pepy.tech/personalized-badge/systemds?units=abbreviation&period=total&left_color=grey&right_color=blue&left_text=Total%20PyPI%20Downloads)](https://pepy.tech/project/systemds)
+[![Monthly PyPI 
downloads](https://static.pepy.tech/personalized-badge/systemds?units=abbreviation&left_color=grey&right_color=blue&left_text=Monthly%20PyPI%20Downloads)](https://pepy.tech/project/systemds)

Reply via email to