Skip to content

Commit ecfd74c

Browse files
authored
fix coverage badge (#6)
1 parent 31451f4 commit ecfd74c

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# https://github.com/Kotlin/multiplatform-library-template/blob/main/.github/workflows/gradle.yml
22
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
33

4-
name: kmp-socketio build and test.
4+
name: CI
55

66
on:
77
push:
@@ -68,10 +68,9 @@ jobs:
6868
- name: Create Coverage Badges
6969
uses: jaywcjlove/coverage-badges-cli@main
7070
with:
71-
style: flat
7271
source: ${{ github.workspace }}/kmp-socketio/build/reports/kover/coverage.json
7372
output: dist/badges.svg
74-
jsonPath: totals.instructions.pct
73+
jsonPath: total.instructions.pct
7574
- name: Deploy
7675
uses: peaceiris/actions-gh-pages@v4
7776
if: ${{ github.ref == 'refs/heads/main' }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
KMP (pure Kotlin) implementation of SocketIO client.
44

5-
![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)
5+
![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)
66

77
## Supported platforms
88

kmp-socketio/src/jvmTest/kotlin/com/piasy/kmp/socketio/engineio/transports/PollingXHRTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ class PollingXHRTest : BaseTest() {
250250
polling.polling.open()
251251
waitExec(this)
252252
polling.polling.close()
253-
waitExec(this, 1000)
253+
waitExec(this, 1500)
254254

255255
coVerify(exactly = 3) { polling.factory.httpRequest(any(), any()) }
256256
assertEquals(

0 commit comments

Comments
 (0)