diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e8b23d34..cb04f785 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -83,6 +83,25 @@ jobs: yarn test-api --headless displayName: 'Integration tests' +- job: BenchmarkTests + pool: + vmImage: 'ubuntu-16.04' + steps: + - task: NodeTool@0 + inputs: + versionSpec: '8.x' + displayName: 'Install Node.js' + - task: geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@2 + inputs: + versionSpec: "1.9.4" + displayName: 'Install Yarn' + - script: | + yarn + displayName: 'Install dependencies and build' + - script: | + yarn benchmark-baseline + displayName: 'Benchmark tests' + - job: Release dependsOn: - Linux