Skip to content

Commit

Permalink
Merge pull request #23 from keemobile/refine/codecov-support
Browse files Browse the repository at this point in the history
Upload reports to codecov
  • Loading branch information
Anvell authored May 19, 2024
2 parents 734a648 + 9825ca2 commit 2c3bd50
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Build, Test and Lint

on:
push:
branches: [master]
branches: [ master ]
pull_request:
branches: [develop]
branches: [ develop ]
workflow_dispatch:

jobs:
Expand All @@ -13,12 +13,25 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 11

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1

- name: Check all modules
run: ./gradlew check

- name: Generate test coverage report
run: ./gradlew koverXmlReport

- name: Upload test coverage report
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./kotpass/build/reports/kover/report.xml
fail_ci_if_error: true
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Kotpass
![Build & Test](https://img.shields.io/github/actions/workflow/status/keemobile/kotpass/gradle.yml?label=Build%20%26%20Test&style=flat-square)
[![](https://jitpack.io/v/keemobile/kotpass.svg?style=flat-square)](https://jitpack.io/#keemobile/kotpass) ![badge][badge-jvm]
![Build & Test](https://img.shields.io/github/actions/workflow/status/keemobile/kotpass/gradle.yml?label=Build%20%26%20Test)
[![](https://jitpack.io/v/keemobile/kotpass.svg)](https://jitpack.io/#keemobile/kotpass) [![codecov](https://codecov.io/gh/keemobile/kotpass/graph/badge.svg?token=59LMP3BOXJ)](https://codecov.io/gh/keemobile/kotpass) ![badge][badge-jvm]

[badge-jvm]: http://img.shields.io/badge/-JVM-DB413D.svg?style=flat-square
[badge-jvm]: http://img.shields.io/badge/-JVM-DB413D.svg

The library offers reading and writing support for [KeePass](https://en.wikipedia.org/wiki/KeePass) (KDBX) files in Kotlin, including the latest format version 4.1. It is suitable for Mobile, Desktop, and Backend JVM projects. The functional style API makes it convenient for MVI-like architectures.

Expand Down

0 comments on commit 2c3bd50

Please sign in to comment.