From b1350d46f89e1e86c10879dd4a22611567355bbc Mon Sep 17 00:00:00 2001 From: Futago-za Ryuu Date: Tue, 12 Feb 2019 08:59:59 +0000 Subject: [PATCH] ci: use beforeEach and afterEach hooks --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6530b1f..9eaeb37 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -17,12 +17,12 @@ jobs: - template: node-test.yml@apt parameters: npm_test: False - before: + beforeEach: - script: | curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter chmod +x ./cc-test-reporter displayName: 'Download Code Climate Test Reporter' - after: + afterEach: - script: | ./cc-test-reporter before-build yarn test 2> /dev/null