Under [Project > Workflow]( https://www.quantconnect.com/docs/v2/lean-cli/projects/workflows), add a Unit Test section.