Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit af09df3

Browse files
authored
Allow git to check out files with long names in Windows (open-telemetry#2790)
* Allow git to check out files with long names in Windows Fixes open-telemetry#2789 * Update contrib SHA
1 parent ef9847f commit af09df3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
# Otherwise, set variable to the commit of your branch on
1111
# opentelemetry-python-contrib which is compatible with these Core repo
1212
# changes.
13-
CONTRIB_REPO_SHA: 7b42e4354dc3244ef2878bfd0d7d4c80d25cba0a
13+
CONTRIB_REPO_SHA: ac84e9968fc5bfb16016a4e0ca82059bf1e86511
1414
# This is needed because we do not clone the core repo in contrib builds anymore.
1515
# When running contrib builds as part of core builds, we use actions/checkout@v2 which
1616
# does not set an environment variable (simply just runs tox), which is different when
@@ -60,6 +60,9 @@ jobs:
6060
if: ${{ matrix.os == 'windows-2019' && matrix.python-version == 'py36' }}
6161
shell: pwsh
6262
run: Remove-Item .\.tox\ -Force -Recurse -ErrorAction Ignore
63+
- name: Windows does not let git check out files with long names
64+
if: ${{ matrix.os == 'windows-2019'}}
65+
run: git config --system core.longpaths true
6366
- name: run tox
6467
run: tox -f ${{ matrix.python-version }}-${{ matrix.package }} -- --benchmark-json=${{ env.RUN_MATRIX_COMBINATION }}-benchmark.json
6568
- name: Find and merge benchmarks

0 commit comments

Comments
 (0)