From 8d4b5cdc55e70e6335b00f7459b03cac8db94fcd Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Sat, 15 Sep 2018 10:38:06 -0700 Subject: [PATCH 1/3] Run yarn coveralls after generating report --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4ab162c82d..cba35b39ad 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -27,6 +27,7 @@ jobs: displayName: 'Lint' - script: | yarn test-coverage + yarn coveralls displayName: 'Generate and publish coverage' - job: macOS From 39047767e4fa5e1453a699900dcf62c9df47cb28 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Sat, 15 Sep 2018 10:40:54 -0700 Subject: [PATCH 2/3] Move coverage to mac agent as it's much faster --- azure-pipelines.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index cba35b39ad..342ab832a5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -25,10 +25,6 @@ jobs: - script: | yarn lint displayName: 'Lint' - - script: | - yarn test-coverage - yarn coveralls - displayName: 'Generate and publish coverage' - job: macOS pool: @@ -47,6 +43,10 @@ jobs: - script: | yarn lint displayName: 'Lint' + - script: | + yarn test-coverage + yarn coveralls + displayName: 'Generate and publish coverage' - job: Windows pool: From 4d7ce4da460aa3201cbecd57a4c3d1894d397456 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Sat, 15 Sep 2018 10:59:41 -0700 Subject: [PATCH 3/3] Set coveralls branch name --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 342ab832a5..a26bd3d84d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -45,6 +45,7 @@ jobs: displayName: 'Lint' - script: | yarn test-coverage + export COVERALLS_GIT_BRANCH=$BUILD_SOURCEBRANCH yarn coveralls displayName: 'Generate and publish coverage'