Skip to content

Commit c103320

Browse files
committed
fix: skip kcov on non linux
1 parent 45eb099 commit c103320

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/kcov/__tests__/kcov.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { info } from "@actions/core"
66

77
jest.setTimeout(300000)
88
describe("setup-Kcov", () => {
9-
if (process.platform !== "win32") {
9+
if (process.platform !== "linux") {
1010
it.todo("should setup kcov on non-Windows")
1111
return
1212
}

src/kcov/kcov.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ async function buildKcov(file: string, dest: string) {
6363
}
6464

6565
export async function setupKcov(versionGiven: string, setupDir: string, arch: string) {
66-
if (process.platform !== "win32") {
66+
if (process.platform !== "linux") {
6767
info("Kcov is not supported on non-linux")
6868
return
6969
}

0 commit comments

Comments
 (0)