Skip to content
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
39 changes: 12 additions & 27 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

on:
push:
branches:
- "main"
pull_request:
workflow_dispatch:

Expand Down Expand Up @@ -138,30 +141,12 @@ jobs:
- name: "Build Check All tests"
run: ./gradlew allTests

# - name: "Generate kover coverage report"
# run: ./gradlew koverHtmlReport koverXmlReport

# - name: "Upload coverage html"
# uses: actions/upload-artifact@v4.0.0
# with:
# name: coverage-results-${{ matrix.os-type }}.zip
# path: apollo/build/reports/kover/html

# - name: "Add coverage report to PR"
# id: kover
# uses: mi-kas/kover-report@v1
# with:
# path: ${{ github.workspace }}/apollo/build/reports/kover/report.xml
# token: ${{ env.GITHUB_TOKEN }}
# title: Code Coverage
# update-comment: true
# min-coverage-overall: 90
# min-coverage-changed-files: 90
# coverage-counter-type: LINE

# - name: "Upload the build report"
# if: always()
# uses: actions/upload-artifact@v4
# with:
# path: "**/build/reports/"
# name: report-${{ matrix.os-type }}
- name: "Generate kover coverage report"
run: ./gradlew koverHtmlReport koverXmlReport

- name: Coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@5cbfd81b66ca5d10c19b062c04de0199c215fb6e # v2.3.7
with:
files: apollo/build/reports/kover/report.xml bip32-ed25519/build/reports/kover/report.xml
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
![License](https://img.shields.io/badge/license-Apache%20License%202.0-blue?logo=apache)
![Kotlin](https://img.shields.io/badge/kotlin-2.2.0-blue?logo=kotlin)
![Gradle](https://img.shields.io/badge/gradle-8.13-blue?logo=gradle)
<p align="center">
<a href="https://www.lfdecentralizedtrust.org/projects/identus">
<img src="https://raw.githubusercontent.com/hyperledger-identus/docs/refs/heads/main/static/img/graphics/identus-hero.svg" alt="identus-logo" height="99px" />
</a>
</p>

[![Coverage Status](https://coveralls.io/repos/github/hyperledger-identus/apollo/badge.svg?branch=main)](https://coveralls.io/github/hyperledger-identus/apollo?branch=main)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=hyperledger-identus_apollo&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=hyperledger-identus_apollo)
[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/11738/badge)](https://www.bestpractices.dev/projects/11738)
[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/hyperledger-identus/apollo/badge)](https://scorecard.dev/viewer/?uri=github.com/hyperledger-identus/apollo)

[![GitHub release](https://img.shields.io/github/release/hyperledger-identus/apollo.svg)](https://github.com/hyperledger-identus/apollo/releases)
[![Discord](https://img.shields.io/discord/905194001349627914?label=discord)](https://discord.com/channels/905194001349627914/1230596020790886490)

# Apollo

Expand Down
12 changes: 11 additions & 1 deletion apollo/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,23 @@ plugins {
alias(libs.plugins.maven.publish)
alias(libs.plugins.npm.publish)
alias(libs.plugins.swiftpackage)
alias(libs.plugins.kover) apply false // https://github.com/Kotlin/kotlinx-kover/issues/747
alias(libs.plugins.kover)
}

val appleBinaryName = "ApolloLibrary"
val minimumIosVersion = "15.0"
val minimumMacOSVersion = "13.0"

kover {
reports {
filters {
excludes {
classes("org.hyperledger.identus.apollo.utils.bip39.wordlists.*")
}
}
}
}

kotlin {
applyDefaultHierarchyTemplate()
compilerOptions {
Expand Down
2 changes: 1 addition & 1 deletion bip32-ed25519/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
alias(libs.plugins.kotlin.multiplatform)
alias(libs.plugins.android.kotlin.multiplatform.library)
alias(libs.plugins.maven.publish)
alias(libs.plugins.kover) apply false // https://github.com/Kotlin/kotlinx-kover/issues/747
alias(libs.plugins.kover)
}

val appleBinaryName = "ApolloLibrary"
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kotlin = "2.2.0"
agp = "8.11.0"
dokka = "1.9.20"
ktlint = "12.3.0"
kover = "0.9.1"
kover = "0.9.7"
vanniktech-maven-publish = "0.33.0"
npm-publish = "3.5.3"
swiftpackage = "2.2.4"
Expand Down
Empty file modified scripts/install-rust-packages.sh
100644 → 100755
Empty file.
Loading