Skip to content

Commit

Permalink
fix coverage badge
Browse files Browse the repository at this point in the history
  • Loading branch information
Piasy committed Jan 11, 2025
1 parent 31451f4 commit 4aeaaed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# https://github.com/Kotlin/multiplatform-library-template/blob/main/.github/workflows/gradle.yml
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle

name: kmp-socketio build and test.
name: CI

on:
push:
Expand Down Expand Up @@ -68,10 +68,9 @@ jobs:
- name: Create Coverage Badges
uses: jaywcjlove/coverage-badges-cli@main
with:
style: flat
source: ${{ github.workspace }}/kmp-socketio/build/reports/kover/coverage.json
output: dist/badges.svg
jsonPath: totals.instructions.pct
jsonPath: total.instructions.pct
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.ref == 'refs/heads/main' }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

KMP (pure Kotlin) implementation of SocketIO client.

![Maven Central Version](https://img.shields.io/maven-central/v/com.piasy/kmp-socketio) ![Main branch status](https://github.com/HackWebRTC/kmp-socketio/actions/workflows/test_and_run_demo.yaml/badge.svg?branch=main)
![Maven Central Version](https://img.shields.io/maven-central/v/com.piasy/kmp-socketio) ![Main branch status](https://github.com/HackWebRTC/kmp-socketio/actions/workflows/ci.yaml/badge.svg?branch=main) ![Coverage](https://hackwebrtc.github.io/kmp-socketio/badges.svg)

## Supported platforms

Expand Down

0 comments on commit 4aeaaed

Please sign in to comment.