Skip to content

Commit 8628340

Browse files
committed
fix: skip tests for linux arm (unsupported)
1 parent c8d2a48 commit 8628340

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

test/android/android-cli.test.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
import { PluginTester, testSpawn } from '@codifycli/plugin-test';
22
import { SpawnStatus } from '@codifycli/schemas';
33
import * as path from 'node:path';
4+
import * as os from 'node:os';
45
import { beforeAll, describe, expect, it } from 'vitest';
56

6-
describe('Android CLI integration tests', async () => {
7+
const isLinuxArm = os.platform() === 'linux' && os.arch() === 'arm64';
8+
9+
describe.skipIf(isLinuxArm)('Android CLI integration tests', async () => {
710
const pluginPath = path.resolve('./src/index.ts');
811

912
beforeAll(async () => {
@@ -57,7 +60,7 @@ describe('Android CLI integration tests', async () => {
5760
});
5861
});
5962

60-
describe('Android Emulator integration tests', async () => {
63+
describe.skipIf(isLinuxArm)('Android Emulator integration tests', async () => {
6164
const pluginPath = path.resolve('./src/index.ts');
6265

6366
beforeAll(async () => {

0 commit comments

Comments
 (0)