Skip to content

Commit

Permalink
pr sugg
Browse files Browse the repository at this point in the history
  • Loading branch information
Jatin Garg authored and Jatin Garg committed Oct 14, 2024
1 parent 682c5d3 commit 79022b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/pipelines/templates/include-test-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ parameters:
default: false

steps:
# Test - With coverage - Don't run with coverage if the task is a PR and the task is a tinylicious service and stress test.
# Test - With coverage - Don't run with coverage if the task is a PR and the task is a tinylicious service and stress test. We don't include coverage for these tests in our baseline coverage stats, so we don't need to run them with coverage here too.
- ${{ if and(parameters.testCoverage, startsWith(parameters.taskTestStep, 'ci:test'), or(ne(variables['Build.Reason'], 'PullRequest'), and(not(contains(parameters.taskTestStep, 'realsvc:tinylicious')), not(contains(parameters.taskTestStep, 'stress:tinylicious')))))}}:
- task: Npm@1
displayName: npm run ${{ parameters.taskTestStep }}:coverage
Expand Down

0 comments on commit 79022b0

Please sign in to comment.