from common.sonar_helper import SonarHelper
from src.interface.project_with_docker import ProjectWithDockerInterface


class AppBase(ProjectWithDockerInterface):
    def compile(self):
        print("Compiling the project...")

    def unit_test(self):
        print("Running unit tests...")

    def sonar_scanner(self):
        sonar_helper = SonarHelper(
            skip_build=self.buildable_project.skip_build(),
        )
        sonar_helper.scanner_analyze()
