Skip to content

Commit b2e7224

Browse files
authored
Publish coverage on even with skipped builds (#198)
Current pipeline job for publishing coverage will skip the jobs if there are a few jobs being skipped. However, some skips are expected, such as some jobs that should be run on selfhosted agents, but no agents are available on the public site. This change will update the publish coverage job's condition to ignore the skipped conditions, such that it will always run the job as long as there the previous job(s) not failing or being cancelled.
1 parent ea70e0e commit b2e7224

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Jobs/PrGate.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ jobs:
163163
dependsOn:
164164
- ${{ each item in parameters.build_matrix }}:
165165
- Build_${{ item.Key }}
166+
condition: and(not(Canceled()), not(Failed()))
167+
166168
workspace:
167169
clean: all
168170

0 commit comments

Comments
 (0)