diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index f2eb0d65..7c84d3c9 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -45,7 +45,7 @@ jobs: -Dsonar.organization=tyktechnologies -Dsonar.projectKey=TykTechnologies_tyk-ui -Dsonar.sources=./src - -Dsonar.coverage.exclusions=./cypress/**/*.js,**/*.test.js,./src/form/components/Combobox/*.js,./src/form/redux-form/**/*.js + -Dsonar.coverage.exclusions=cypress/**/*.js,**/*.test.js,src/form/components/Combobox/*.js,src/form/redux-form/**/*.js -Dsonar.cpd.exclusions=**/*.test.js,src/form/redux-form/**/* -Dsonar.test.inclusions=**/*.test.js -Dsonar.tests=./src diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 2f48723f..a7a8e0d0 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -23,7 +23,7 @@ jobs: -Dsonar.organization=tyktechnologies -Dsonar.projectKey=TykTechnologies_tyk-ui -Dsonar.sources=./src - -Dsonar.coverage.exclusions=./cypress/**/*.js,**/*.test.js,./src/form/components/Combobox/*.js,./src/form/redux-form/**/*.js + -Dsonar.coverage.exclusions=cypress/**/*.js,**/*.test.js,src/form/components/Combobox/*.js,src/form/redux-form/**/*.js -Dsonar.cpd.exclusions=**/*.test.js,src/form/redux-form/**/* -Dsonar.test.inclusions=**/*.test.js -Dsonar.tests=./src