(dir: string)
| 44 | } |
| 45 | |
| 46 | async function buildJava(dir: string): Promise<StepResult[]> { |
| 47 | const steps: StepResult[] = []; |
| 48 | const build = await runStep('build', 'mvn', ['-q', 'compile'], dir); |
| 49 | steps.push(build); |
| 50 | if (!build.success) return steps; |
| 51 | |
| 52 | steps.push(await runStep('test', 'mvn', ['-q', 'test'], dir)); |
| 53 | return steps; |
| 54 | } |
| 55 | |
| 56 | async function buildGo(dir: string): Promise<StepResult[]> { |
| 57 | const steps: StepResult[] = []; |
no test coverage detected