From 67131832f0581393db2afabe3dc41269e88d4500 Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Thu, 31 Aug 2023 10:13:27 +0200 Subject: [PATCH] Skip one more GraalPy test on windows --- __tests__/find-graalpy.test.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/__tests__/find-graalpy.test.ts b/__tests__/find-graalpy.test.ts index bfb731ec..1eb065fe 100644 --- a/__tests__/find-graalpy.test.ts +++ b/__tests__/find-graalpy.test.ts @@ -10,7 +10,7 @@ import * as path from 'path'; import * as semver from 'semver'; import * as finder from '../src/find-graalpy'; -import {IGraalPyManifestRelease} from '../src/utils'; +import {IGraalPyManifestRelease, IS_WINDOWS} from '../src/utils'; import manifestData from './data/graalpy.json'; @@ -19,6 +19,9 @@ const architecture = 'x64'; const toolDir = path.join(__dirname, 'runner', 'tools'); const tempDir = path.join(__dirname, 'runner', 'temp'); +/* GraalPy doesn't have a windows release yet */ +const describeSkipOnWindows = IS_WINDOWS ? describe.skip : describe; + describe('parseGraalPyVersion', () => { it.each([ ['graalpy-23', '23'], @@ -105,7 +108,7 @@ describe('findGraalPyToolCache', () => { }); }); -describe('findGraalPyVersion', () => { +describeSkipOnWindows('findGraalPyVersion', () => { let getBooleanInputSpy: jest.SpyInstance; let warningSpy: jest.SpyInstance; let debugSpy: jest.SpyInstance;