1
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2024-11-22 06:26:25 +00:00

Clean up tests

This commit is contained in:
Danny McCormick 2019-07-11 17:12:03 -04:00
parent 7deb8583be
commit 26fa782187

View file

@ -3,7 +3,7 @@ import fs = require('fs');
import path = require('path'); import path = require('path');
const toolDir = path.join( const toolDir = path.join(
process.cwd(), __dirname,
'runner', 'runner',
path.join( path.join(
Math.random() Math.random()
@ -13,7 +13,7 @@ const toolDir = path.join(
'tools' 'tools'
); );
const tempDir = path.join( const tempDir = path.join(
process.cwd(), __dirname,
'runner', 'runner',
path.join( path.join(
Math.random() Math.random()
@ -24,7 +24,6 @@ const tempDir = path.join(
); );
process.env['RUNNER_TOOLSDIRECTORY'] = toolDir; process.env['RUNNER_TOOLSDIRECTORY'] = toolDir;
process.env['AGENT_TOOLSDIRECTORY'] = toolDir;
process.env['RUNNER_TEMPDIRECTORY'] = tempDir; process.env['RUNNER_TEMPDIRECTORY'] = tempDir;
import * as finder from '../src/find-python'; import * as finder from '../src/find-python';