From a52dc1449f9234c1d051356ec3c6ecbc0d825227 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 10 Aug 2020 12:52:23 +0200 Subject: [PATCH] Debug https://github.com/python/core-workflow/issues/373 --- .github/workflows/build.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5649a6670e75f5..eb3acc647ad110 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,11 +28,28 @@ jobs: - name: Check for source changes id: check run: | + echo "==env==" + env + echo "==env== done" if [ -z "GITHUB_BASE_REF" ]; then echo '::set-output name=run_tests::true' else git fetch origin $GITHUB_BASE_REF --depth=1 - git diff --name-only origin/$GITHUB_BASE_REF... | grep -qvE '(\.rst$|^Doc|^Misc)' && echo '::set-output name=run_tests::true' || true + + echo "==method .. ==" + git diff --name-only origin/$GITHUB_BASE_REF.. || true + + echo "==method ... ==" + git diff --name-only origin/$GITHUB_BASE_REF... || true + + echo "==method GITHUB_SHA==" + git diff --name-only origin/$GITHUB_BASE_REF..$GITHUB_SHA || true + + echo "==method GITHUB_REF==" + git diff --name-only origin/$GITHUB_BASE_REF..$GITHUB_REF || true + + echo "==real code with .. ==" + git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc)' && echo '::set-output name=run_tests::true' || true fi build_win32: name: 'Windows (x86)'