Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2da1e0e commit 8e1fe56Copy full SHA for 8e1fe56
.github/workflows/ci.yml
@@ -85,5 +85,7 @@ jobs:
85
run: docker run --rm --privileged multiarch/qemu-user-static:register --reset
86
- name: Run ${{ matrix.tfm }} tests
87
run: |
88
+ git_command="git config --global --add safe.directory /app"
89
test_command="dotnet test LibGit2Sharp.sln --configuration Release -p:TargetFrameworks=${{ matrix.tfm }} --logger "GitHubActions" -p:ExtraDefine=LEAKS_IDENTIFYING"
- docker run -t --rm --platform linux/${{ matrix.arch }} -v "$PWD:/app" gittools/build-images:${{ matrix.distro }}-sdk-${{ matrix.sdk }} sh -c "$test_command"
90
+ docker run -t --rm --platform linux/${{ matrix.arch }} -v "$PWD:/app" gittools/build-images:${{ matrix.distro }}-sdk-${{ matrix.sdk }} sh -c "$git_command && $test_command"
91
+
0 commit comments