Skip to content

Commit 2250f08

Browse files
committed
test: skip infer, sccache, bazel tests on Linux arm
1 parent 1916446 commit 2250f08

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

src/bazel/__tests__/bazel.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ import { setupBazel } from "../bazel.js"
44

55
jest.setTimeout(300000)
66
describe("setup-bazel", () => {
7+
if (process.platform === "linux" && process.arch === "arm64") {
8+
it("should skip bazel tests on Linux arm64", () => {
9+
expect(true).toBe(true)
10+
})
11+
return
12+
}
713
it("should setup bazel", async () => {
814
const installInfo = await setupBazel("", "", process.arch)
915

src/infer/__tests__/infer.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import { setupInfer } from "../infer.js"
88
jest.setTimeout(300000)
99

1010
describe("setup-infer", () => {
11-
if (process.platform === "win32") {
12-
it("should skip infer tests on windows", () => {
11+
if (process.platform === "win32" || (process.platform === "linux" && process.arch === "arm64")) {
12+
it("should skip infer tests on Windows and Linux arm64", () => {
1313
expect(true).toBe(true)
1414
})
1515
return

src/sccache/__tests__/sccache.test.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ import { setupSccache } from "../sccache.js"
44

55
jest.setTimeout(300000)
66
describe("setup-sccache", () => {
7+
if (process.platform === "linux" && process.arch === "arm64") {
8+
it("should skip sccache tests on Linux arm64", () => {
9+
expect(true).toBe(true)
10+
})
11+
return
12+
}
13+
714
it("should setup sccache", async () => {
815
const installInfo = await setupSccache("", "", process.arch)
916

0 commit comments

Comments
 (0)