Skip to content

Commit

Permalink
Update codecov/codecov-action action to v4.6.0 (#417)
Browse files Browse the repository at this point in the history
* Update codecov/codecov-action action to v4.6.0

| datasource  | package                | from   | to     |
| ----------- | ---------------------- | ------ | ------ |
| github-tags | codecov/codecov-action | v4.5.0 | v4.6.0 |

* Update build.gradle.kts

* Update viewmodel/build.gradle.kts

* Update viewmodel/build.gradle.kts

* Update build.gradle.kts

* Update build.gradle.kts

java.time.Duration

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Petrus Nguyễn Thái Học <[email protected]>
  • Loading branch information
renovate[bot] and hoc081098 authored Oct 8, 2024
1 parent c693d8a commit 933f84e
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
run: ./gradlew :koverXmlReport

- name: Upload Test Report
uses: codecov/codecov-action@v4.5.0
uses: codecov/codecov-action@v4.6.0
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Expand Down
37 changes: 33 additions & 4 deletions viewmodel/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@file:Suppress("ClassName")

import java.net.URL
import java.time.Duration
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
import org.jetbrains.kotlin.gradle.dsl.JsModuleKind
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
Expand Down Expand Up @@ -56,16 +57,44 @@ kotlin {
}
}
}
browser()
nodejs()
browser {
testTask {
useKarma {
useChromeHeadless()
useConfigDirectory(File(project.rootProject.projectDir, "karma"))
timeout.set(Duration.ofMinutes(5))
}
}
}
nodejs {
testTask {
useMocha {
timeout = "10s"
}
}
}
}
@OptIn(ExperimentalWasmDsl::class)
wasmJs {
// Module name should be different from the one from JS
// otherwise IC tasks that start clashing different modules with the same module name
moduleName = property("POM_ARTIFACT_ID")!!.toString() + "Wasm"
browser()
nodejs()
browser {
testTask {
useKarma {
useChromeHeadless()
useConfigDirectory(File(project.rootProject.projectDir, "karma"))
timeout.set(Duration.ofMinutes(5))
}
}
}
nodejs {
testTask {
useMocha {
timeout = "10s"
}
}
}
}

iosArm64()
Expand Down

0 comments on commit 933f84e

Please sign in to comment.