diff --git a/src/kcov/__tests__/kcov.test.ts b/src/kcov/__tests__/kcov.test.ts index 180b0cd2..c94ce4e6 100644 --- a/src/kcov/__tests__/kcov.test.ts +++ b/src/kcov/__tests__/kcov.test.ts @@ -6,7 +6,7 @@ import { info } from "@actions/core" jest.setTimeout(300000) describe("setup-Kcov", () => { - if (process.platform !== "win32") { + if (process.platform !== "linux") { it.todo("should setup kcov on non-Windows") return } diff --git a/src/kcov/kcov.ts b/src/kcov/kcov.ts index 4c971559..2443d9a1 100644 --- a/src/kcov/kcov.ts +++ b/src/kcov/kcov.ts @@ -63,7 +63,7 @@ async function buildKcov(file: string, dest: string) { } export async function setupKcov(versionGiven: string, setupDir: string, arch: string) { - if (process.platform !== "win32") { + if (process.platform !== "linux") { info("Kcov is not supported on non-linux") return }