I am trying to set up a CICD validation which needs to check if the test code coverage is going below 85% on a Pull Request. I am using the below SFDX deploy command but it doesn't give me code coverage in the result.
sfdx force:source:deploy -u testscratchorg1 -p force-app\main\default --checkonly --testlevel RunLocalTests --json
Has anyone implemented something like this before or any suggestions??
Thank you in advance!