test: skip infer, sccache, bazel tests on Linux arm

This commit is contained in:
Amin Yahyaabadi 2025-03-16 01:28:34 -07:00
parent 1916446e22
commit 2250f08263
3 changed files with 15 additions and 2 deletions

View File

@ -4,6 +4,12 @@ import { setupBazel } from "../bazel.js"
jest.setTimeout(300000)
describe("setup-bazel", () => {
if (process.platform === "linux" && process.arch === "arm64") {
it("should skip bazel tests on Linux arm64", () => {
expect(true).toBe(true)
})
return
}
it("should setup bazel", async () => {
const installInfo = await setupBazel("", "", process.arch)

View File

@ -8,8 +8,8 @@ import { setupInfer } from "../infer.js"
jest.setTimeout(300000)
describe("setup-infer", () => {
if (process.platform === "win32") {
it("should skip infer tests on windows", () => {
if (process.platform === "win32" || (process.platform === "linux" && process.arch === "arm64")) {
it("should skip infer tests on Windows and Linux arm64", () => {
expect(true).toBe(true)
})
return

View File

@ -4,6 +4,13 @@ import { setupSccache } from "../sccache.js"
jest.setTimeout(300000)
describe("setup-sccache", () => {
if (process.platform === "linux" && process.arch === "arm64") {
it("should skip sccache tests on Linux arm64", () => {
expect(true).toBe(true)
})
return
}
it("should setup sccache", async () => {
const installInfo = await setupSccache("", "", process.arch)