Skip to content

Chore Backend tests do not run on pull requests #388

@SumitKumar777

Description

@SumitKumar777

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions