ci: fix test directory

This commit is contained in:
Ricardo Campos
2024-09-20 10:29:12 -03:00
parent 7ec980e98f
commit 0e6c3ffb70
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -27,8 +27,8 @@ jobs:
run: cd client && npm run build
- name: Lint
run: cd client && npm run lint
#- name: Unit tests
# run: npm run test
- name: Unit tests
run: cd client && npm run test:coverage
client-sonarcloud:
name: Client SonarCloud
@@ -48,7 +48,7 @@ jobs:
-Dsonar.projectKey=ricardo-campos-org_react-typescript-todolist
-Dsonar.javascript.lcov.reportPaths=coverage/lcov.info
-Dsonar.sources=src/
-Dsonar.tests=src/__test__/__
-Dsonar.tests=src/__test__/
-Dsonar.verbose=true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
+3 -3
View File
@@ -23,8 +23,8 @@ jobs:
run: cd client && npm run build
- name: Lint
run: cd client && npm run lint
#- name: Unit tests
# run: npm run test
- name: Unit tests
run: cd client && npm run test:coverage
client-sonarcloud:
name: Client SonarCloud
@@ -44,7 +44,7 @@ jobs:
-Dsonar.projectKey=ricardo-campos-org_react-typescript-todolist
-Dsonar.javascript.lcov.reportPaths=coverage/lcov.info
-Dsonar.sources=src/
-Dsonar.tests=src/__test__/__
-Dsonar.tests=src/__test__/
-Dsonar.verbose=true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any