Staging
v0.8.1
v0.8.1
https://github.com/python/cpython
Revision 1d0c5e16eab29d55773cc4196bb90d2bf12e09dd authored by Emmanuel Arias on 24 January 2020, 08:14:14 UTC, committed by Chris Withers on 24 January 2020, 08:14:14 UTC
* add test for path.dict using OrderedDict Co-authored-by: Yu Tomita nekobon@users.noreply.github.com
1 parent 65ecc39
Tip revision: 1d0c5e16eab29d55773cc4196bb90d2bf12e09dd authored by Emmanuel Arias on 24 January 2020, 08:14:14 UTC
bpo-24928: Add test case for patch.dict using OrderedDict (GH -11437)
bpo-24928: Add test case for patch.dict using OrderedDict (GH -11437)
Tip revision: 1d0c5e1
prebuild-checks.yml
steps:
- checkout: self
fetchDepth: 5
- script: echo "##vso[task.setvariable variable=diffTarget]HEAD~1"
displayName: Set default diff target
- script: |
git fetch -q origin $(System.PullRequest.TargetBranch)
echo "##vso[task.setvariable variable=diffTarget]HEAD \$(git merge-base HEAD FETCH_HEAD)"
displayName: Fetch comparison tree
condition: and(succeeded(), variables['System.PullRequest.TargetBranch'])
- script: |
if ! git diff --name-only $(diffTarget) | grep -qE '(\.rst$|^Doc|^Misc)'
then
echo "No docs were updated: docs.run=false"
echo "##vso[task.setvariable variable=run;isOutput=true]false"
else
echo "Docs were updated: docs.run=true"
echo "##vso[task.setvariable variable=run;isOutput=true]true"
fi
displayName: Detect documentation changes
name: docs
- script: |
if ! git diff --name-only $(diffTarget) | grep -qvE '(\.rst$|^Doc|^Misc)'
then
echo "Only docs were updated: tests.run=false"
echo "##vso[task.setvariable variable=run;isOutput=true]false"
else
echo "Code was updated: tests.run=true"
echo "##vso[task.setvariable variable=run;isOutput=true]true"
fi
displayName: Detect source changes
name: tests
Computing file changes ...