Skip to content

Commit

Permalink
[Alexandra] Adds codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
astenstrasser committed May 21, 2020
1 parent f93f6f1 commit e4c15cf
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ jobs:
- ~/.gradle
key: v1-dependencies-{{ checksum "build.gradle" }}
- run: gradle test
- run: gradle jacocoTestReport
- run: bash <(curl -s https://codecov.io/bash)


deploy-staging:
docker:
- image: buildpack-deps:trusty
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

[![codecov](https://codecov.io/gh/hackathon-da-diversidade/agencia-compromisso/branch/master/graph/badge.svg)](https://codecov.io/gh/hackathon-da-diversidade/agencia-compromisso)


# Agência Compromisso

Em parceria com a Lojas Renner, o [CEA](http://www.ceavilapinto.org/) (Centro de Educação Ambiental da Vila Pinto) começou a desenvolver um projeto para encontrar modelos de prova para suas criações dentro do bairro Bom Jesus. Para quem não é familiar com este termo, modelo de prova é a pessoa que experimenta peças-piloto antes da produção em larga escala.
Expand Down
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ plugins {
id 'org.springframework.boot' version '2.2.2.RELEASE'
id 'io.spring.dependency-management' version '1.0.8.RELEASE'
id 'java'
id 'jacoco'
}

group = 'com.thoughtworks'
Expand Down Expand Up @@ -37,3 +38,10 @@ dependencies {
test {
useJUnitPlatform()
}

jacocoTestReport {
reports {
xml.enabled true
html.enabled false
}
}

0 comments on commit e4c15cf

Please sign in to comment.