Skip to content

Commit

Permalink
[ci] Only when test stage succeeded or succeededwithissues, PR run Gc…
Browse files Browse the repository at this point in the history
…ov (#2460)

* [ci] Only when test stage succeeded or succeededwithissues, PR run Gcov
  • Loading branch information
liushilongbuaa authored Sep 21, 2022
1 parent 7cc035f commit 04fbc8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .azure-pipelines/test-docker-sonic-vs-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
inputs:
testResultsFiles: '**/*_tr.xml'
testRunTitle: vstest
condition: always()
condition: succeeded()

- script: |
cp -r tests/log $(Build.ArtifactStagingDirectory)/
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ stages:

- stage: Gcov
dependsOn: Test
condition: always()
condition: in(dependencies.Test.result, 'Succeeded', 'SucceededWithIssues')
jobs:
- template: .azure-pipelines/gcov.yml
parameters:
Expand Down

0 comments on commit 04fbc8e

Please sign in to comment.