diff --git a/.azure/coverage.yml b/.azure/coverage.yml index 7bd7f1e..8b3dcdd 100644 --- a/.azure/coverage.yml +++ b/.azure/coverage.yml @@ -17,10 +17,8 @@ steps: displayName: 'Run tests and collect coverage' - script: npm run build displayName: 'Build project' - - task: PublishCodeCoverageResults@1 + - task: PublishCodeCoverageResults@2 inputs: - codeCoverageTool: 'Cobertura' summaryFileLocation: 'coverage/cobertura-coverage.xml' pathToSources: './src' - reportDirectory: 'coverage' failIfCoverageEmpty: true