From c5f2e2af3ca3fc6c0a93c7c9b267b9a09cecbabe Mon Sep 17 00:00:00 2001 From: Krishna Vedala <7001608+kvedala@users.noreply.github.com> Date: Wed, 8 Jul 2020 15:26:55 -0400 Subject: [PATCH] move test to top --- .github/workflows/awesome_workflow.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/awesome_workflow.yml b/.github/workflows/awesome_workflow.yml index f916bf9f1..873040c1c 100644 --- a/.github/workflows/awesome_workflow.yml +++ b/.github/workflows/awesome_workflow.yml @@ -116,6 +116,8 @@ jobs: import subprocess import sys + subprocess.run(["clang-tidy", "-dump-config"], check=True, text=True) + print("Python {}.{}.{}".format(*sys.version_info)) # Python 3.8 with open("git_diff.txt") as in_file: modified_files = sorted(in_file.read().splitlines()) @@ -128,7 +130,6 @@ jobs: sys.exit(0) print("clang-tidy:") - subprocess.run(["clang-tidy", "-dump-config"], check=True, text=True) for cpp_file in cpp_files: subprocess.run(["clang-tidy", "--quiet", "--fix", cpp_file, "--"], check=True, text=True)