From 1a6b5b4b54d7d2fdea04338e310d40740966a9c0 Mon Sep 17 00:00:00 2001 From: Louis DUFOUR Date: Fri, 13 Oct 2023 14:01:33 +0200 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 | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8a84602..191859c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,8 +18,18 @@ steps: commands: - vendor/bin/phpunit --filter "/(testCallWebService)( .*)?$/" ./common/Tests/WS_UtilTest.php - vendor/bin/phpunit --filter "/(testAllKeysToUppercase)( .*)?$/" ./common/Tests/WS_UtilTest.php - depends_on: - - Setup + depends_on: [Setup] + + - name: sonar + image: sonarsouce/sonar-scanner-cli:5 + commands: + -Dsonar.projectKey=CICD_WebPage_Louis_Duf \ + -Dsonar.sources=. \ + -Dsonar.host.url=https://codefirst.iut.uca.fr/sona + settings: + sonar_token: + from_secret: SECRET_SONAR_LOGIN + depends_on: [Setup] - name: hadolint image: hadolint/hadolint:latest-alpine