diff --git a/azure-pipeline.yml b/azure-pipeline.yml new file mode 100644 index 000000000..3873c88ce --- /dev/null +++ b/azure-pipeline.yml @@ -0,0 +1,29 @@ +trigger: +- main + +pool: + vmImage: ubuntu-latest +strategy: + matrix: + Python38: + python.version: '3.8' + Python39: + python.version: '3.9' + Python310: + python.version: '3.10' + +steps: +- task: UsePythonVersion@0 + inputs: + versionSpec: '$(python.version)' + displayName: 'Use Python $(python.version)' + +- script: | + python -m pip install --upgrade pip + pip install -r requirements.txt + displayName: 'Install dependencies' + +- script: | + pip install pytest pytest-azurepipelines + pytest + displayName: 'pytest'