Skip to content

Commit

Permalink
ci: revert coverage clean routine and remove reportDirectory option
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonoh committed Oct 29, 2019
1 parent 377f884 commit e1d5e35
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions .azure-pipelines-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ jobs:
displayName: "Run tests"
condition: succeeded()

- script: rm -rf coverage/lcov-report
displayName: "Clean coverage artifacts"

- task: PublishTestResults@2
displayName: "Publish test results"
condition: succeededOrFailed()
Expand All @@ -52,7 +49,6 @@ jobs:
inputs:
codeCoverageTool: Cobertura
summaryFileLocation: "$(Build.SourcesDirectory)/coverage/cobertura-coverage.xml"
reportDirectory: "$(Build.SourcesDirectory)/coverage"

- script: yarn semantic-release || true
displayName: Release
Expand Down
5 changes: 0 additions & 5 deletions .azure-pipelines-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ steps:
- script: yarn test:ci
displayName: "Run tests"

# Clean coverage report artifacts
- script: rm -rf coverage/lcov-report
displayName: "Clean coverage artifacts"

# Publish CI test results
- task: PublishTestResults@2
displayName: "Publish test results"
Expand All @@ -49,4 +45,3 @@ steps:
inputs:
codeCoverageTool: Cobertura
summaryFileLocation: "$(Build.SourcesDirectory)/coverage/cobertura-coverage.xml"
reportDirectory: "$(Build.SourcesDirectory)/coverage"
1 change: 1 addition & 0 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,4 @@ jobs:
variables:
CI: true
YARN_CACHE_FOLDER: $(Pipeline.Workspace)/.yarn
system.debug: true

0 comments on commit e1d5e35

Please sign in to comment.