Skip to content

Commit 9ff1d4c

Browse files
committed
chore: test project for java and kotlin
1 parent 1670d55 commit 9ff1d4c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/main.yml

+1
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ jobs:
1717
uses: ./
1818
with:
1919
lang: "python"
20+
debug_mode: "true"

debug.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@
99
def debug_main():
1010
# pull some repos for test
1111
check_call(["git", "clone", "--depth=2", "https://github.com/gin-gonic/gin.git"])
12-
check_call(["git", "clone", "--depth=2", "https://github.com/google/guava.git"])
12+
check_call(["git", "clone", "--depth=2", "https://github.com/square/okhttp"])
1313

1414
gen_index("golang", "gin")
15-
gen_index("java", "guava")
15+
gen_index("kotlin", "okhttp")
1616

1717
os.chdir("gin")
1818
gen_diff("HEAD~1", "HEAD", "")
1919
os.chdir("..")
2020

21-
os.chdir("guava")
21+
os.chdir("okhttp")
2222
gen_diff("HEAD~1", "HEAD", "")
2323
os.chdir("..")
2424

2525
# clean up
2626
shutil.rmtree("gin")
27-
shutil.rmtree("guava")
27+
shutil.rmtree("okhttp")

0 commit comments

Comments
 (0)