@ -14,7 +14,12 @@ steps:
sonar_host: https://codefirst.iut.uca.fr/sonar/
sonar_token:
from_secret: SONAR_TOKEN
- name: Test and coverage
image: hub.codefirst.iut.uca.fr/camille.petitalot/drone-sonarplugin-reactnative:latest
- name: install dependencies
image: node:16-alpine
commands:
- npm install
- name: run tests
- npm jest
- npm test