diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 19ccb990..1ac59ec9 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -93,7 +93,7 @@ jobs: uses: actions/upload-artifact@v3 with: name: code-coverage-report - path: coverage/ + path: .coverage/ # --- Frontend Deployment --- - name: Build React Application diff --git a/package.json b/package.json index ff326b3f..6fa3fdf9 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "build": "vite build", "preview": "vite preview", "clean": "rimraf coverage .coverage", - "test:coverage": "npm run clean && vitest run --coverage", + "test:coverage": "npm run clean && vitest run -c vite.config.ts --coverage && vitest run -c vitest.config.integration.ts --coverage", "test": "vitest run --coverage", "test:integration": "vitest run --coverage -c vitest.config.integration.ts", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",