File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ def build_benchmark_tex(
8787 examples_path = EXAMPLES_REPO_PATH / "examples" ,
8888 output_path = output_path ,
8989 )
90+ assert benchmarks_path .is_file ()
9091
9192 # convert markdown benchmark results to LaTeX
9293 with set_dir (RELEASE_NOTES_PATH ):
@@ -97,9 +98,10 @@ def build_benchmark_tex(
9798 )
9899 assert not ret , out + err
99100 assert tex_path .is_file ()
101+ assert (RELEASE_NOTES_PATH / f"{ benchmarks_path .stem } .tex" ).is_file ()
100102
101- if ( DISTRIBUTION_PATH / f" { benchmarks_path . stem } .md" ). is_file ():
102- assert ( RELEASE_NOTES_PATH / f" { benchmarks_path .stem } .tex" ). is_file ()
103+ # clean up benchmark results
104+ benchmarks_path .unlink ()
103105
104106
105107def build_deprecations_tex (force : bool = False ):
You can’t perform that action at this time.
0 commit comments