run coverage tests before sonarscan
Some checks failed
Sonarqube Scanner / Build and analyze (push) Failing after 24s
Some checks failed
Sonarqube Scanner / Build and analyze (push) Failing after 24s
This commit is contained in:
parent
e5ae7eab3c
commit
13598f8db1
@ -37,6 +37,11 @@ jobs:
|
||||
java -version;
|
||||
$SONAR_SCANNER_HOME/bin/sonar-scanner --version
|
||||
|
||||
- name: Run Coverage tests
|
||||
run: |-
|
||||
npm install -g c8;
|
||||
test -s coverage/js/lcov.info || ( npm ci && npm run test:coverage )
|
||||
|
||||
- name: Run sonar-scanner
|
||||
env:
|
||||
SONAR_SCANNER_HOME: ${{ vars.SONAR_SCANNER_HOME }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user