Skip to content

CI: install pytest in backend test workflow - #6

Draft
Nirmal0804 with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-test-job-failure
Draft

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

Conversation

Copilot AI commented Sep 8, 2026

Copy link
Copy Markdown

The backend-ci workflow’s test job failed because it invoked python -m pytest tests -q without ensuring pytest was installed in the runner environment. This PR adds the missing test dependency in the workflow setup path.

  • Failure mode

    • test job hit No module named pytest during the test execution step.
  • Workflow change

    • Updated .github/workflows/backend-ci.yml to install pytest in the existing dependency install step before running the test command.
    • Scope is intentionally limited to CI wiring; no runtime/backend application code changes.
  • Relevant diff

    - 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 8, 2026
Copilot AI requested a review from Nirmal0804 September 8, 2026 07:49
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