TST: Azure Python version fix #12502
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #12298 by using proper string variable substitutions or just hard-coding for "single-matrix" runs (mac, linux have a single job). Also, reduce ambiguity with respect to architecture and fast / full test runs.
The Azure

PublishTestResults
task was not able to substitute Python version strings so we're seeing reports like this for merge event CI runs:For pull request CI runs it currently looks more like this:

The 6 missing publication entries for PR runs are all for Windows, and @charris has already noted the Warnings on the test publication task for Windows. In fact, there are 12 such warnings on PRs (2 per windows job), and 6 such warnings for merge events (1 per Windows job).
My objective here is to deal with the simple linked issue first -- get those version strings working sensibly, and then look at the deeper issues on
PublishTestResults
Windows warnings after that.On my branch, the changes in this PR produce this:

And hopefully works similar for master branch PR here.