From 4f9469db55fb7ce6de576e638b6a580696958b78 Mon Sep 17 00:00:00 2001 From: budtmo Date: Mon, 21 Jun 2021 10:24:06 +0200 Subject: [PATCH] Added matrix --- pipelines/test-pipeline.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pipelines/test-pipeline.yml b/pipelines/test-pipeline.yml index ce3bf34..78e99ad 100644 --- a/pipelines/test-pipeline.yml +++ b/pipelines/test-pipeline.yml @@ -16,12 +16,17 @@ jobs: - job: build_and_test pool: vmImage: ubuntu-20.04 + strategy: + maxParallel: 1 + matrix: + python35: + python.version: '3.5' steps: - task: UsePythonVersion@0 inputs: - versionSpec: '$(pythonVersion)' - displayName: 'Use Python $(pythonVersion)' - - script: pip install -r requirements.txt + versionSpec: '$(python.version)' + displayName: 'Use Python $(python.version)' + - script: pip install -r requirements.txt displayName: 'Install pip packages' - script: ./release.sh test 7.1.1 $(app_version) displayName: 'Build Docker image with Android 7.1.1 and run unit tests'