Skip to content

Commit 1a13041

Browse files
authored
Fix failing checkouts on mac livetests (#42827)
* use - checkout with sparse checkout + disabling fetch of tags over sparse-checkout template
1 parent 68dac49 commit 1a13041

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

eng/pipelines/templates/jobs/ci.tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ jobs:
8282
value: ${{ parameters.InjectedPackages }}
8383

8484
steps:
85-
- template: /eng/common/pipelines/templates/steps/sparse-checkout.yml
86-
parameters:
87-
Paths:
88-
- '**'
85+
- checkout: self
86+
fetchTags: false
87+
sparseCheckoutPatterns: |
88+
**
8989
9090
- template: /eng/pipelines/templates/steps/download-package-artifacts.yml
9191

eng/pipelines/templates/jobs/live.tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ jobs:
107107
container: $[ variables['Container'] ]
108108

109109
steps:
110+
- checkout: self
111+
fetchTags: false
112+
sparseCheckoutPatterns: |
113+
**
114+
110115
- ${{ parameters.PreSteps }}
111116

112117
- template: /eng/common/pipelines/templates/steps/verify-agent-os.yml

eng/pipelines/templates/steps/build-package-artifacts.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ parameters:
2525
default: []
2626

2727
steps:
28-
- template: /eng/common/pipelines/templates/steps/sparse-checkout.yml
29-
parameters:
30-
Paths:
31-
- '**'
28+
- checkout: self
29+
fetchTags: false
30+
sparseCheckoutPatterns: |
31+
**
3232
3333
- task: UsePythonVersion@0
3434
displayName: 'Use Python $(PythonVersion)'

0 commit comments

Comments
 (0)