From f2f03c6fbed58d5833634794ddfc29ccf6111f8c Mon Sep 17 00:00:00 2001 From: vi11iv <114462806+vi11iv@users.noreply.github.com> Date: Tue, 27 Sep 2022 08:55:30 +0300 Subject: [PATCH] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 000000000..7a8ddb0bd --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,33 @@ +# Python package + +trigger: +- master + +pool: + vmImage: ubuntu-latest + +variables: + sonarCloudEndpointName: 'python' + sonarCloudOrganization: 'vi11iv' + sonarCloudProjectKey: 'vi11iv_python' + sonarCloudProjectName: 'vi11iv' + +steps: +- task: UsePythonVersion@0 + inputs: + versionSpec: '$(python.version)' + displayName: 'Use Python $(python.version)' + + + +- task: SonarCloudPrepare@1 + inputs: + SonarCloud: '$(sonarCloudEndpointName)' + organization: '$(sonarCloudOrganization)' + scannerMode: 'CLI' + configMode: 'manual' + cliProjectKey: '$(sonarCloudProjectKey)' + cliProjectName: '$(sonarCloudProjectName)' + cliProjectVersion: '1.0' + cliSources: '.' +