From fd1eb38943558b3b4722ac4b42fa931ea5350957 Mon Sep 17 00:00:00 2001 From: Arthur VALIN Date: Wed, 22 Mar 2023 09:42:23 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'.drone.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index ac6a21d..1c69a01 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,6 +3,14 @@ type: docker name: default steps: + + - name: test + image: node:latest + commands: + - cd src + - npm i + - npm test + - name: sonar-analyses image: hub.codefirst.iut.uca.fr/camille.petitalot/drone-sonarplugin-reactnative:latest commands: @@ -14,4 +22,5 @@ steps: settings: sonar_host: https://codefirst.iut.uca.fr/sonar/ sonar_token: - from_secret: SONAR_TOKEN \ No newline at end of file + from_secret: SONAR_TOKEN + depends_on: [ test ] \ No newline at end of file