Skip to content

Commit

Permalink
Merge pull request #1 from intuit/develop
Browse files Browse the repository at this point in the history
Added badge in readme
  • Loading branch information
Nishant-sehgal committed Jul 20, 2023
2 parents bb041ec + 5959e20 commit c5cee77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name: Java CI with Maven

on:
push:
branches: [ "main" ]
branches: [ "main","develop" ]
pull_request:
branches: [ "main" ]

Expand Down Expand Up @@ -40,6 +40,7 @@ jobs:
generate-coverage-badge: true
generate-coverage-endpoint: true
generate-branches-endpoint: true
generate-branches-badge: true

- name: Log coverage percentage
run: |
Expand All @@ -50,7 +51,7 @@ jobs:
run: |
if [[ `git status --porcelain` ]]; then
git config --global user.name 'Nishant Sehgal'
git config --global user.email 'NishantSehgal@users.noreply.github.com'
git config --global user.email 'Nishant-Sehgal@users.noreply.github.com'
git add -A
git commit -m "Autogenerated JaCoCo coverage badge"
git push
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Chain-z

[![Build Status](https://github.com/intuit/chain-z/actions/workflows/maven.yml/badge.svg)](https://github.com/intuit/chain-z/actions/workflows/maven.yml)
[![Build Status](https://github.com/intuit/chain-z/actions/workflows/maven-build.yml/badge.svg)](https://github.com/intuit/chain-z/actions/workflows/maven-build.yml)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.intuit.apl/apl-core/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.intuit.apl/apl-core)
![coverage](.github/badges/jacoco.svg)
![branches coverage](.github/badges/branches.svg)
Expand Down

0 comments on commit c5cee77

Please sign in to comment.