mirror of
https://github.com/jlengrand/OpenGraphKt.git
synced 2026-03-10 08:31:23 +00:00
Merge pull request #19 from jlengrand/feat/kover
Adding Code Coverage information
This commit is contained in:
7
.github/workflows/gradle.yml
vendored
7
.github/workflows/gradle.yml
vendored
@@ -68,3 +68,10 @@ jobs:
|
||||
# See: https://github.com/gradle/actions/blob/main/dependency-submission/README.md
|
||||
- name: Generate and submit dependency graph
|
||||
uses: gradle/actions/dependency-submission@8379f6a1328ee0e06e2bb424dadb7b159856a326 # v4.4.0
|
||||
|
||||
# Uploads code coverage reports to Covecov
|
||||
- name: Upload coverage reports
|
||||
uses: codecov/codecov-action@v5
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
files: opengraphkt/build/reports/kover/report.xml
|
||||
@@ -1,6 +1,10 @@
|
||||
# OpenGraphKt
|
||||
|
||||
[](https://github.com/simplex-chat/jlengrand/OpenGraphKt/workflows/gradle.yml)
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
|
||||
[OpenGraphKt](https://github.com/jlengrand/OpenGraphKt) is a minimalist Kotlin library to work with the [Open Graph tags](https://ogp.me/) protocol.
|
||||
|
||||
@@ -3,6 +3,8 @@ import com.vanniktech.maven.publish.SonatypeHost
|
||||
plugins {
|
||||
kotlin("jvm")
|
||||
id("com.vanniktech.maven.publish") version "0.32.0"
|
||||
id("org.jetbrains.kotlinx.kover") version "0.9.1"
|
||||
|
||||
}
|
||||
|
||||
group = "fr.lengrand"
|
||||
@@ -69,3 +71,13 @@ mavenPublishing {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
kover {
|
||||
reports {
|
||||
verify {
|
||||
rule {
|
||||
minBound(70)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user