(dir: string)
| 34 | } |
| 35 | |
| 36 | async function buildPython(dir: string): Promise<StepResult[]> { |
| 37 | const steps: StepResult[] = []; |
| 38 | // Create venv, install deps |
| 39 | const install = await runStep('install', 'bash', ['-c', |
| 40 | 'python3 -m venv .venv && source .venv/bin/activate && pip install -q -r requirements.txt' |
| 41 | ], dir); |
| 42 | steps.push(install); |
| 43 | return steps; // Python has no compile/test step in the existing scripts |
| 44 | } |
| 45 | |
| 46 | async function buildJava(dir: string): Promise<StepResult[]> { |
| 47 | const steps: StepResult[] = []; |
no test coverage detected