I have the below bash script to deploy the changes are checked in to Azure Devops to the Salesforce instance. Script runs as soon as checkin made to DEV branch it is all working good
sfdx force:mdapi:deploy -l RunLocalTests -c -d ./toDeploy -u devOrg -w 10
displayName: Run validation on source code
sfdx force:mdapi:deploy -l RunLocalTests -d ./toDeploy -u devOrg -w 10
displayName: Deploy source code to Dev Org
The above one runs all the tests before deploying the changes, is there a way just deploy the changes without running local tests as it is just deploying in to my DEV org.
Second question is if I am trying to merge my changes from DEV to QA branch, I will have pipeline running to deploy the changes in QA branch to Sandbox instance. Will it deploy all the code from the DEV org to Sandbox org or does it only push the changes that are checked in to the QA branch