How to split this duplicated Azure DevOps steps into a reusable template
问题 I have the following Azure DevOps template, which is currently hardcoded to some specific files. I'm hoping to refactor it into a simpler template using loops so I don't need to duplicate (and hardcode) specific files. [ pseduo code for brevity ] #tests.yml steps: # pre-test steps. This is done once. - script: install tool1 - script: install tool2 - script: setup path stuff. # Tests - script: test project1 | display codecoverage to console-out - script: test project 2 | display codecoverage