diff --git a/.github/workflows/pull-requests.yml b/.github/workflows/pull-requests.yml
index af13c80b..180088ab 100644
--- a/.github/workflows/pull-requests.yml
+++ b/.github/workflows/pull-requests.yml
@@ -24,3 +24,9 @@ jobs:
- name: Step 4 - Build client
run: ./scripts/build_client.sh
+
+ - name: Step 5 - Upload coverage reports to Codecov
+ uses: codecov/codecov-action@v4
+ with:
+ token: ${{ secrets.CODECOV_TOKEN }}
+ verbose: true
diff --git a/.github/workflows/push-in-develop.yml b/.github/workflows/push-in-develop.yml
index f45991d1..2718b5e1 100644
--- a/.github/workflows/push-in-develop.yml
+++ b/.github/workflows/push-in-develop.yml
@@ -21,10 +21,16 @@ jobs:
- name: Step 3 - Build & Test
run: mvn clean verify -ntp
- - name: Step 5 - Build client
+ - name: Step 4 - Build client
run: ./scripts/build_client.sh
- - name: Maven deploy snapshot
+ - name: Step 5 - Upload coverage reports to Codecov
+ uses: codecov/codecov-action@v4
+ with:
+ token: ${{ secrets.CODECOV_TOKEN }}
+ verbose: true
+
+ - name: Step 6 - Maven deploy snapshot
run: ./scripts/mvn_deploy.sh
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
@@ -32,4 +38,4 @@ jobs:
GPG_EXECUTABLE: gpg
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }}
- GPG_OWNERTRUST: ${{ secrets.GPG_OWNERTRUST }}
+ GPG_OWNERTRUST: ${{ secrets.GPG_OWNERTRUST }}
\ No newline at end of file
diff --git a/README.md b/README.md
index 1d669fa4..cbc8e6f3 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,6 @@
-# secure-token-service [![Build Status](https://travis-ci.com/adorsys/secure-token-service.svg?branch=master)](https://travis-ci.com/adorsys/secure-token-service)
+[![codecov](https://codecov.io/gh/adorsys/secure-token-service/branch/develop/graph/badge.svg)](https://codecov.io/gh/adorsys/secure-token-service)
+
+# secure-token-service
This an implementation of the secure token service as specified in the token exchange working draft https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-08.
diff --git a/pom.xml b/pom.xml
index bf6e44f6..851f318e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -57,14 +57,15 @@