Description
The current GitHub Actions CI/CD pipeline intended to test both the frontend and backend is not functioning correctly.
The pipeline fails because required environment variables are not set and the MongoDB configuration is missing or incomplete in the CI environment. As a result, backend tests cannot connect to the database and the overall workflow does not complete successfully.
Current Behavior
- GitHub Actions workflow fails during test execution
- Backend tests error out due to missing environment variables
- MongoDB connection/configuration is not available in CI
- Frontend and backend tests cannot reliably run in the pipeline
Expected Behavior
-
CI/CD pipeline should successfully run:
- Frontend tests
- Backend tests
-
Required environment variables should be properly injected into the workflow
-
MongoDB should be correctly configured (e.g. service container, connection string, credentials) for CI test runs
Tasks / Acceptance Criteria
Notes
This fix is required to restore reliable automated testing and prevent regressions from being merged without validation.
Description
The current GitHub Actions CI/CD pipeline intended to test both the frontend and backend is not functioning correctly.
The pipeline fails because required environment variables are not set and the MongoDB configuration is missing or incomplete in the CI environment. As a result, backend tests cannot connect to the database and the overall workflow does not complete successfully.
Current Behavior
Expected Behavior
CI/CD pipeline should successfully run:
Required environment variables should be properly injected into the workflow
MongoDB should be correctly configured (e.g. service container, connection string, credentials) for CI test runs
Tasks / Acceptance Criteria
Notes
This fix is required to restore reliable automated testing and prevent regressions from being merged without validation.