curved-microphone-39455
12/22/2022, 6:27 PMcoverage-py
in my in my .toml
for me pipeline, it always fail because of this error
17:20:21.82 [ERROR] 1 Exception encountered:
ProcessExecutionFailure: Process 'Generate Pytest html coverage report.' failed with exit code 1.
stdout:
Couldn't parse '/tmp/pants-sandbox-wxTI0G/src/libraries/lib/lib/v2/models/_potential_access_points/_deployment_provider_type.py' as Python source: 'invalid syntax' at line 25
[test]
report = true
use_coverage = true
[coverage-py]
report = ["html"]
global_report = true
We are using Python 3.10 at this is a Switch statement at this line, do you have an idea to my coverage work with this ?wide-midnight-78598
12/22/2022, 6:29 PMhttps://media.giphy.com/media/R5YYY4JI51Gq4/giphy.gif▾
enough-analyst-54434
12/22/2022, 6:36 PM./pants generate-lockfiles --resolve=coverage-py
... and then proceed with maybe success.curved-microphone-39455
12/22/2022, 6:44 PMenough-analyst-54434
12/22/2022, 6:53 PMcurved-microphone-39455
12/22/2022, 6:56 PMenough-analyst-54434
12/22/2022, 7:02 PMcurved-microphone-39455
12/22/2022, 7:03 PMbeta
to stable
? just curiosity here 🙂enough-analyst-54434
12/22/2022, 7:12 PMcurved-microphone-39455
12/22/2022, 7:13 PM