microsoft / mu_devops

Project Mu Developer Operations
https://microsoft.github.io/mu/
Other
27 stars 25 forks source link

MuDevOpsWrapper.yml: Bugfix bad value options #279

Closed Javagedes closed 11 months ago

Javagedes commented 11 months ago

the values config does not work as variables are not evaluated until the step runs, so what actually gets passed and verified against the values config ends up being the string $(variable_name), which always fails as we were saying the value could only be "ado" or "codecov" or ""

This PR updates all yaml files to no longer pass the environment variable as a parameter from MuDevOpsWrapper -> Jobs/PrGate -> Steps/PrGate -> UploadCodeCoverage and instead uses the environment variable directly in UploadCodeCoverage All aforementioned yaml files have been updated with documentation on how to generate code coverage.