Skip to content

ci(frontend): implement tests and setup gha workflow - #5

Merged
aadil96 merged 2 commits into
mainfrom
ci/setup-gha-workflow-for-frontend
Nov 19, 2025
Merged

ci(frontend): implement tests and setup gha workflow#5
aadil96 merged 2 commits into
mainfrom
ci/setup-gha-workflow-for-frontend

Conversation

@aadil96

@aadil96 aadil96 commented Nov 19, 2025

Copy link
Copy Markdown
Owner

implement tests for code, check code coverage, and, build and scan docker image

implement tests for code, check code coverage, and, build and scan docker image
@what-the-diff

what-the-diff Bot commented Nov 19, 2025

Copy link
Copy Markdown

PR Summary

  • New Workflow for Frontend Tests
    A new GH Actions workflow is introduced to conduct tests for the frontend code whenever a pull request is triggered. This workflow includes checking code, installing dependencies, linting, running tests, and creating coverage reports.

  • Dockerfile Revisions
    We have made necessary adjustments to the Dockerfile used for running the frontend. Now it excludes development dependencies, making it more efficient and suited for production environments.

  • Dependencies Streamlining
    The dependencies arrangement in the project has been improved for better organization. These changes make it easier to distinguish between main and development dependencies, thus simplifying project management.

  • Introduction of pytest fixtures
    Our testing has been enhanced through the use of pytest fixtures. These assist in capturing rendered templates during tests, which increases the reliability and accuracy of our tests.

  • Added Tests for Frontend
    AMore comprehensive tests have been added to check the entire functionality of the frontend application. These tests include checks for rendering pages, validating the addition of sessions, and checking the health status of the app. These additions ensure application robustness and help maintain high-quality standards.

@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Complexity Health
. 96% 0
Summary 96% (73 / 76) 0

@aadil96
aadil96 merged commit 4fa586f into main Nov 19, 2025
4 checks passed
@aadil96
aadil96 deleted the ci/setup-gha-workflow-for-frontend branch November 19, 2025 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant