From 69024a31577f6fab10dd554890b5af5ae4058a99 Mon Sep 17 00:00:00 2001 From: Sina Madani Date: Tue, 25 Jun 2024 14:38:30 +0100 Subject: [PATCH] Add codecov --- .github/workflows/build.yml | 4 +++- README.md | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 98a1b80..c3470ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,4 +36,6 @@ jobs: java-version: ${{ matrix.java }} cache: maven - name: Compile with Maven - run: mvn --batch-mode clean verify \ No newline at end of file + run: mvn --batch-mode clean verify + - name: Run Codecov + uses: codecov/codecov-action@v4 diff --git a/README.md b/README.md index 0a7e3f8..adf9cb6 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ [![Maven Release](https://maven-badges.herokuapp.com/maven-central/com.vonage/kotlin-server-sdk/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.vonage/kotlin-server-sdk) [![Build Status](https://github.com/Vonage/vonage-kotlin-sdk/actions/workflows/build.yml/badge.svg)](https://github.com/Vonage/vonage-kotlin-sdk/actions/workflows/build.yml) +[![codecov](https://codecov.io/gh/vonage/vonage-kotlin-sdk/branch/main/graph/badge.svg)](https://codecov.io/gh/vonage/vonage-kotlin-sdk) [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md) [![Snyk](https://snyk.io/test/github/vonage/vonage-java-sdk/badge.svg)](https://snyk.io/test/github/vonage/vonage-java-sdk) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE.txt)