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 45
45
uses : coverallsapp/github-action@v2
46
46
with :
47
47
files : ${{ steps.get-coverage-files.outputs.files }}
48
+ format : lcov
48
49
49
50
build-sdist :
50
51
name : Build source distribution
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ environment-pass = ["RUNNER_OS"]
78
78
test-groups = [" dev" ]
79
79
test-command = [
80
80
' 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 " ,
82
82
" python {project}/scripts/save_coverage.py" ,
83
83
]
84
84
Original file line number Diff line number Diff line change 8
8
try :
9
9
if os .getenv ("RUNNER_OS" ) == "Linux" :
10
10
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 " )
12
12
except Exception :
13
13
traceback .print_exc ()
You can’t perform that action at this time.
0 commit comments