99MATHLIB4_URL = "https://github.com/leanprover-community/mathlib4"
1010LEAN4_EXAMPLE_URL = "https://github.com/yangky11/lean4-example"
1111EXAMPLE_COMMIT_HASH = "e2602e8d4b1d9cf9240f1a20160a47cfc35165b8"
12- REMOTE_EXAMPLE_URL = "https://gitee.com/rexzong/lean4-example"
1312URLS = [
1413 MINIF2F_URL ,
1514 BATTERIES_URL ,
1918]
2019
2120
22- @pytest .fixture (scope = "session" )
23- def remote_example_url ():
24- return REMOTE_EXAMPLE_URL
25-
26-
2721@pytest .fixture (scope = "session" )
2822def example_commit_hash ():
2923 return EXAMPLE_COMMIT_HASH
@@ -48,26 +42,22 @@ def lean4_example_repo():
4842
4943@pytest .fixture (scope = "session" )
5044def batteries_repo ():
51- commit = get_latest_commit (BATTERIES_URL )
52- return LeanGitRepo (BATTERIES_URL , commit )
45+ return LeanGitRepo (BATTERIES_URL , "stable" )
5346
5447
5548@pytest .fixture (scope = "session" )
5649def mathlib4_repo ():
57- commit = get_latest_commit (MATHLIB4_URL )
58- return LeanGitRepo (MATHLIB4_URL , commit )
50+ return LeanGitRepo (MATHLIB4_URL , "stable" )
5951
6052
6153@pytest .fixture (scope = "session" )
6254def aesop_repo ():
63- commit = get_latest_commit (AESOP_URL )
64- return LeanGitRepo (AESOP_URL , commit )
55+ return LeanGitRepo (AESOP_URL , "stable" )
6556
6657
6758@pytest .fixture (scope = "session" , params = URLS )
6859def traced_repo (request ):
6960 url = request .param
70- commit = get_latest_commit (url )
71- repo = LeanGitRepo (url , commit )
61+ repo = LeanGitRepo (url , "stable" )
7262 traced_repo = trace (repo )
7363 yield traced_repo
0 commit comments