From 22202f0cea59c0ca240f215425175cf03e692a36 Mon Sep 17 00:00:00 2001 From: Krishna Vedala <7001608+kvedala@users.noreply.github.com> Date: Fri, 10 Jul 2020 21:33:03 -0400 Subject: [PATCH] test passing multiple files --- .github/workflows/awesome_workflow.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/awesome_workflow.yml b/.github/workflows/awesome_workflow.yml index 6404e58b..8d6a1a1b 100644 --- a/.github/workflows/awesome_workflow.yml +++ b/.github/workflows/awesome_workflow.yml @@ -120,9 +120,11 @@ jobs: if not cpp_files: sys.exit(0) - for cpp_file in cpp_files: - subprocess.run(["clang-tidy-10", "-p=build", cpp_file, "--"], + subprocess.run(["clang-tidy-10", "-p=build", *cpp_files, "--"], check=True, text=True, stderr=subprocess.STDOUT) + # for cpp_file in cpp_files: + # subprocess.run(["clang-tidy-10", "-p=build", cpp_file, "--"], + # check=True, text=True, stderr=subprocess.STDOUT) # print("g++:") # compile_exts = tuple(".c .c++ .cc .cpp .cu .cxx".split())