mirror of
https://github.com/actions/setup-python.git
synced 2024-11-29 04:15:25 +01:00
Clean up tests
This commit is contained in:
parent
7deb8583be
commit
26fa782187
1 changed files with 2 additions and 3 deletions
|
@ -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';
|
||||||
|
|
Loading…
Reference in a new issue