Skip to content

Add CI/CD pipeline for automated testing with coverage tracking#45

Merged
simone-viozzi merged 3 commits intomainfrom
copilot/add-ci-cd-pipeline
Nov 16, 2025
Merged

Add CI/CD pipeline for automated testing with coverage tracking#45
simone-viozzi merged 3 commits intomainfrom
copilot/add-ci-cd-pipeline

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Nov 16, 2025

Implements automated test execution on PRs with Codecov integration to track coverage trends and enforce quality gates.

Changes

  • pytest-cov: Added to dev dependencies for coverage analysis
  • GitHub Actions workflow (.github/workflows/test.yml): Runs on PRs to main and manual dispatch
    • Executes 44 tests using existing uv toolchain
    • Generates XML coverage reports
    • Uploads to Codecov with CODECOV_TOKEN secret
    • Uses uv.lock for dependency caching

Current coverage: 82% (391 statements, 70 missed)

[!WARNING]

Original prompt

This section details on the original issue you should resolve

<filter_complete></filter_complete>

<issue_title>[ci/cd] run tests in the PRs</issue_title>
<issue_description></issue_description>

<agent_instructions>also add test coverage with codecov</agent_instructions>

Comments on the Issue (you are @copilot in this section)

@simone-viozzi add ci/cd pipeline to run tests in the PR before merge
Original prompt

This section details on the original issue you should resolve

<issue_title>[ci/cd] run tests in the PRs</issue_title>
<issue_description></issue_description>

<agent_instructions>also add test coverage with codecov</agent_instructions>

Comments on the Issue (you are @copilot in this section)

@simone-viozzi add ci/cd pipeline to run tests in the PR before merge

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Add CI/CD pipeline to run tests in PRs Add CI/CD pipeline for automated testing with coverage tracking Nov 16, 2025
Copilot AI requested a review from simone-viozzi November 16, 2025 17:36
Copy link
Copy Markdown
Owner

@simone-viozzi simone-viozzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot hanlde the comments pls

codecov.yml Outdated
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not needed, deafult conf is fine

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Nov 16, 2025

@copilot hanlde the comments pls

Addressed all feedback in commit 3c722f3:

  • Removed codecov.yml (using default config)
  • Removed pyproject.toml from cache key
  • Removed "Show uv version" step
  • Removed name parameter from codecov upload
  • Changed triggers to only PR to main + workflow_dispatch

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • openaipublic.blob.core.windows.net
    • Triggering command: /home/REDACTED/work/gpt-copy/gpt-copy/.venv/bin/python /tmp/tmpanojauhb.py /tmp/tmpxs4blydb --tokens (dns block)
    • Triggering command: /home/REDACTED/work/gpt-copy/gpt-copy/.venv/bin/python /tmp/tmpfjz3n1hn.py /tmp/tmpe33wkrp6 --tokens --top-n 2 (dns block)
    • Triggering command: /home/REDACTED/work/gpt-copy/gpt-copy/.venv/bin/python /tmp/tmpvewflq9l.py /tmp/tmp5pgbqur9 --tokens --include *.py (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI and others added 3 commits November 16, 2025 19:38
Co-authored-by: simone-viozzi <19674168+simone-viozzi@users.noreply.github.com>
Co-authored-by: simone-viozzi <19674168+simone-viozzi@users.noreply.github.com>
@simone-viozzi simone-viozzi force-pushed the copilot/add-ci-cd-pipeline branch from 3c722f3 to d673fcd Compare November 16, 2025 18:39
@simone-viozzi simone-viozzi marked this pull request as ready for review November 16, 2025 18:39
@simone-viozzi simone-viozzi merged commit 4ed347a into main Nov 16, 2025
3 checks passed
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.

[ci/cd] run tests in the PRs

2 participants