ccsync icon indicating copy to clipboard operation
ccsync copied to clipboard

Chore Backend tests do not run on pull requests

Open SumitKumar777 opened this issue 10 months ago • 0 comments

Problem

Backend tests are currently configured to run only on pushes to the main branch. When contributors open or update a pull request, backend tests are not executed.

Why this is an issue

  • Pull requests can be merged without backend test coverage
  • Broken backend changes may reach main
  • Contributors do not get early feedback

Expected behavior: Backend tests should also run when a pull request targets main or dev, so failures are caught before merging.

Current configuration

The workflow in .github/workflows/backend-test.yml is triggered only on:

on:
  push:
    branches:
      - main
 
### Suggested fix
  on:
    push:
      branches:
        - main
    pull_request:
      branches:
        - main
        - dev

SumitKumar777 avatar Jan 09 '26 23:01 SumitKumar777