Commit Graph

3 Commits

Author SHA1 Message Date
GSRN
bfb69850f3 chore: Simplify frontend CI workflow by removing clover.xml coverage check
Some checks failed
Integration Tests / integration-tests (push) Failing after 32s
Integration Tests / performance-tests (push) Has been skipped
Frontend (React) / test (20) (push) Successful in 1m48s
Docker Build and Push / build-and-push (push) Failing after 3m4s
Frontend (React) / build (push) Successful in 2m33s
Frontend (React) / lighthouse (push) Has been skipped
### Summary of Changes
- Removed the check for `clover.xml` in the CI workflow to streamline coverage reporting.
- Updated Vitest configuration to exclude `clover` from the coverage reporters and added options for relative paths and cleaning.

### Expected Results
- Enhanced clarity and efficiency of the CI process by focusing on relevant coverage reports, improving overall workflow performance.
2025-09-16 23:15:12 +02:00
GSRN
58a785b0cb chore: Enhance frontend CI workflow for improved test coverage reporting
Some checks failed
LabFusion CI/CD Pipeline / api-gateway (push) Failing after 41s
Docker Build and Push / build-and-push (push) Failing after 41s
LabFusion CI/CD Pipeline / service-adapters (push) Successful in 57s
Integration Tests / integration-tests (push) Failing after 40s
Integration Tests / performance-tests (push) Has been skipped
LabFusion CI/CD Pipeline / api-docs (push) Successful in 1m44s
Frontend (React) / test (20) (push) Failing after 1m29s
Frontend (React) / build (push) Has been skipped
Frontend (React) / lighthouse (push) Has been skipped
LabFusion CI/CD Pipeline / frontend (push) Successful in 4m1s
LabFusion CI/CD Pipeline / integration-tests (push) Has been skipped
### Summary of Changes
- Updated the test command in the CI workflow to use `npx vitest` for running tests with coverage.
- Added a verification step to check for the presence of coverage files (`lcov.info` and `clover.xml`).
- Configured Vitest to output JUnit test results and detailed coverage reports in the specified directory.

### Expected Results
- Improved visibility and reliability of test coverage metrics, facilitating better quality assurance processes.
2025-09-16 23:04:43 +02:00
GSRN
64f302149e refactor: Migrate frontend to use Vite and update testing framework
Some checks failed
LabFusion CI/CD Pipeline / api-gateway (push) Failing after 34s
Docker Build and Push / build-and-push (push) Failing after 42s
LabFusion CI/CD Pipeline / service-adapters (push) Successful in 1m2s
LabFusion CI/CD Pipeline / frontend (push) Failing after 1m5s
Integration Tests / integration-tests (push) Failing after 38s
Integration Tests / performance-tests (push) Has been skipped
LabFusion CI/CD Pipeline / api-docs (push) Successful in 1m47s
Frontend (React) / test (latest) (push) Failing after 1m14s
LabFusion CI/CD Pipeline / integration-tests (push) Has been skipped
Frontend (React) / build (push) Has been skipped
Frontend (React) / lighthouse (push) Has been skipped
### Summary of Changes
- Replaced `react-query` with `@tanstack/react-query` in `package.json` and updated related imports.
- Updated frontend CI workflow to use `vitest` for testing instead of Jest, modifying test commands accordingly.
- Removed the `App.js`, `Dashboard.js`, `Settings.js`, and other component files, transitioning to a new structure.
- Enhanced error handling in the `useServiceStatus` hook to provide more informative error messages.

### Expected Results
- Improved performance and modernized the frontend build process with Vite.
- Streamlined testing setup with `vitest`, enhancing test execution speed and reliability.
- Increased clarity and maintainability of the codebase by adhering to clean code principles and removing unused components.
2025-09-16 22:26:39 +02:00