mirror of
https://github.com/actions/setup-python.git
synced 2025-04-19 19:33:29 +00:00
Skip one more GraalPy test on windows
This commit is contained in:
parent
5b60f8c31d
commit
67131832f0
@ -10,7 +10,7 @@ import * as path from 'path';
|
|||||||
import * as semver from 'semver';
|
import * as semver from 'semver';
|
||||||
|
|
||||||
import * as finder from '../src/find-graalpy';
|
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';
|
import manifestData from './data/graalpy.json';
|
||||||
|
|
||||||
@ -19,6 +19,9 @@ const architecture = 'x64';
|
|||||||
const toolDir = path.join(__dirname, 'runner', 'tools');
|
const toolDir = path.join(__dirname, 'runner', 'tools');
|
||||||
const tempDir = path.join(__dirname, 'runner', 'temp');
|
const tempDir = path.join(__dirname, 'runner', 'temp');
|
||||||
|
|
||||||
|
/* GraalPy doesn't have a windows release yet */
|
||||||
|
const describeSkipOnWindows = IS_WINDOWS ? describe.skip : describe;
|
||||||
|
|
||||||
describe('parseGraalPyVersion', () => {
|
describe('parseGraalPyVersion', () => {
|
||||||
it.each([
|
it.each([
|
||||||
['graalpy-23', '23'],
|
['graalpy-23', '23'],
|
||||||
@ -105,7 +108,7 @@ describe('findGraalPyToolCache', () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('findGraalPyVersion', () => {
|
describeSkipOnWindows('findGraalPyVersion', () => {
|
||||||
let getBooleanInputSpy: jest.SpyInstance;
|
let getBooleanInputSpy: jest.SpyInstance;
|
||||||
let warningSpy: jest.SpyInstance;
|
let warningSpy: jest.SpyInstance;
|
||||||
let debugSpy: jest.SpyInstance;
|
let debugSpy: jest.SpyInstance;
|
||||||
|
Loading…
Reference in New Issue
Block a user