diff --git a/.drone.yml b/.drone.yml index 9f5babb..abe08db 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,26 +1,26 @@ -kind: pipeline -type: docker -name: default - -trigger: - event: - - push - -steps: - - name: sonar-analysis - image: hub.codefirst.iut.uca.fr/camille.petitalot/drone-sonarplugin-reactnative:latest - commands: - - npm install - - npm run test:coverage - - ls ./coverage - - sonar-scanner - -Dsonar.projectKey=AD_multiplat - -Dsonar.sources=. - -Dsonar.host.url=$${PLUGIN_SONAR_HOST} - -Dsonar.login=$${PLUGIN_SONAR_TOKEN} - -Dsonar.javascript.lcov.reportPaths=./coverage/lcov.info - -Dsonar.exclusions=**/*.test.tsx,**/*.test.ts,**/*.spec.tsx,**/*.spec.ts,**/lcov-report/** - settings: - sonar_host: https://codefirst.iut.uca.fr/sonar/ - sonar_token: - from_secret: SONAR_TOKEN +kind: pipeline +type: docker +name: default + +trigger: + event: + - push + +steps: + - name: sonar-analysis + image: hub.codefirst.iut.uca.fr/camille.petitalot/drone-sonarplugin-reactnative:latest + commands: + - yarn install + - yarn test:coverage + - ls ./coverage + - sonar-scanner + -Dsonar.projectKey=AD_multiplat + -Dsonar.sources=. + -Dsonar.host.url=$${PLUGIN_SONAR_HOST} + -Dsonar.login=$${PLUGIN_SONAR_TOKEN} + -Dsonar.javascript.lcov.reportPaths=./coverage/lcov.info + -Dsonar.exclusions=**/*.test.tsx,**/*.test.ts,**/*.spec.tsx,**/*.spec.ts,**/lcov-report/**,**/constants.ts,config.ts,babel.config.ts + settings: + sonar_host: https://codefirst.iut.uca.fr/sonar/ + sonar_token: + from_secret: SONAR_TOKEN diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000..a55e7a1 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/start.xml b/.idea/runConfigurations/start.xml index 40e4c12..7ba5005 100644 --- a/.idea/runConfigurations/start.xml +++ b/.idea/runConfigurations/start.xml @@ -1,13 +1,13 @@ - - - - -