Skip to content

CI: install pytest in backend test workflow - #5

Draft
Nirmal0804 with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-failing-github-actions-job
Draft

CI: install pytest in backend test workflow#5
Nirmal0804 with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-failing-github-actions-job

Conversation

Copilot AI commented Sep 5, 2026

Copy link
Copy Markdown

The backend-ci workflow’s test job failed because it invoked python -m pytest tests -q without installing pytest. This PR updates the workflow so the test runner is present in the job environment.

  • Root cause

    • backend/requirements.txt contains runtime deps only; pytest was missing from CI environment while still required by the workflow command.
  • Workflow change

    • Updated .github/workflows/backend-ci.yml to install pytest in the dependency setup step before running tests.
  • Behavioral impact

    • Aligns CI environment with workflow expectations for the test job.
    • No application/runtime code paths were modified.
- name: Install dependencies
  run: |
    python -m pip install --upgrade pip
    pip install -r requirements.txt
    pip install pytest

Co-authored-by: Nirmal0804 <171272821+Nirmal0804@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job 'test' CI: install pytest in backend test workflow Sep 5, 2026
Copilot AI requested a review from Nirmal0804 September 5, 2026 18:20
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.

2 participants