Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload reports to codecov #23

Merged
merged 2 commits into from
May 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading