Skip to content

Feature/add testing workflow#78

Draft
AchiTsa wants to merge 7 commits intoarvindsis11:masterfrom
AchiTsa:feature/add-testing-workflow
Draft

Feature/add testing workflow#78
AchiTsa wants to merge 7 commits intoarvindsis11:masterfrom
AchiTsa:feature/add-testing-workflow

Conversation

@AchiTsa
Copy link
Copy Markdown
Contributor

@AchiTsa AchiTsa commented Apr 20, 2026

Key Changes

  • GitHub Actions Workflows:

    • Created .github/workflows/backend-ci.yml to automate Python testing (pytest) and linting (ruff).
    • Created .github/workflows/frontend-ci.yml to automate Next.js linting, unit testing (jest), and production builds.
  • Environment Fixes:

    • Resolved ModuleNotFoundError in the backend by correctly configuring PYTHONPATH: ./backend within the CI environment and local scripts.
    • Addressed Node.js 20 deprecation warnings by opting into the Node.js 24 runner environment.
  • Developer Tooling:

    • Added scripts/test_all.sh (Bash) and scripts/test_all.ps1 (PowerShell) to allow developers to run the entire test suite locally with a single command.
  • Verification Tests:

    • Added "smoke tests" in tests/test_ci_setup.py and frontend/src/tests/ci_setup.test.ts to verify that the testing infrastructure is healthy.
  • Documentation:

    • Added docs/AUTOMATED_TESTING.md with clear instructions on how to run, add, and troubleshoot tests.

Closes #77

@AchiTsa AchiTsa marked this pull request as draft April 27, 2026 11:32
@AchiTsa
Copy link
Copy Markdown
Contributor Author

AchiTsa commented May 4, 2026

@luca55466 could you please review before I remove the Draft.
Fork

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.

Feature: Integrate Testing Workflows for GitHub Actions

1 participant