File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 4545 uses : coverallsapp/github-action@v2
4646 with :
4747 files : ${{ steps.get-coverage-files.outputs.files }}
48+ format : lcov
4849
4950 build-sdist :
5051 name : Build source distribution
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ environment-pass = ["RUNNER_OS"]
7878test-groups = [" dev" ]
7979test-command = [
8080 ' python -c "import mwparserfromhell.parser._tokenizer"' ,
81- " pytest {project}/tests -rxs --cov=mwparserfromhell" ,
81+ " pytest {project}/tests -rxs --cov=mwparserfromhell --cov-report=lcov:coverage.lcov " ,
8282 " python {project}/scripts/save_coverage.py" ,
8383]
8484
Original file line number Diff line number Diff line change 88try :
99 if os .getenv ("RUNNER_OS" ) == "Linux" :
1010 os .makedirs ("/output" , exist_ok = True )
11- shutil .move (". coverage" , f"/output/coverage.{ uuid .uuid4 ().hex } " )
11+ shutil .move ("coverage.lcov " , f"/output/coverage.{ uuid .uuid4 ().hex } .lcov " )
1212except Exception :
1313 traceback .print_exc ()
You can’t perform that action at this time.
0 commit comments