Skip to content

Commit

Permalink
Merge pull request #222 from YannMoisan/add-coverage
Browse files Browse the repository at this point in the history
configure coverage
  • Loading branch information
YannMoisan authored Jul 17, 2024
2 parents 3de84a4 + d99f9c2 commit aafaaf2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ jobs:
with:
java-version: 1.8
- name: Run tests
run: sbt +test
run: sbt coverage +test
- name: Coverage report
run: sbt coverageReport
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}

lint:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

![Build status](https://github.com/YannMoisan/graphite4s/actions/workflows/build.yml/badge.svg)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.yannmoisan/graphite4s_2.12/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.yannmoisan/graphite4s_2.12)
[![codecov](https://codecov.io/github/YannMoisan/graphite4s/graph/badge.svg?token=37WNLGADEH)](https://codecov.io/github/YannMoisan/graphite4s)
[![License](https://img.shields.io/github/license/yannmoisan/graphite4s)](http://www.apache.org/licenses/LICENSE-2.0.html)

A library for sending points to graphite.
Expand Down
2 changes: 2 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.4.2")

addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.0")

addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.10")

addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.11")

0 comments on commit aafaaf2

Please sign in to comment.