mirror of
https://github.moeyy.xyz/https://github.com/TheAlgorithms/C.git
synced 2023-10-11 15:56:24 +08:00
test passing multiple files
This commit is contained in:
parent
fd2c883883
commit
22202f0cea
6
.github/workflows/awesome_workflow.yml
vendored
6
.github/workflows/awesome_workflow.yml
vendored
@ -120,9 +120,11 @@ jobs:
|
|||||||
if not cpp_files:
|
if not cpp_files:
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
for cpp_file in cpp_files:
|
subprocess.run(["clang-tidy-10", "-p=build", *cpp_files, "--"],
|
||||||
subprocess.run(["clang-tidy-10", "-p=build", cpp_file, "--"],
|
|
||||||
check=True, text=True, stderr=subprocess.STDOUT)
|
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++:")
|
# print("g++:")
|
||||||
# compile_exts = tuple(".c .c++ .cc .cpp .cu .cxx".split())
|
# compile_exts = tuple(".c .c++ .cc .cpp .cu .cxx".split())
|
||||||
|
Loading…
Reference in New Issue
Block a user