Skip to content

DEV: fixed coverage capture and update reporting link - #76

Merged
GavinHuttley merged 1 commit into
HuttleyLab:developfrom
GavinHuttley:develop
Aug 5, 2026
Merged

DEV: fixed coverage capture and update reporting link#76
GavinHuttley merged 1 commit into
HuttleyLab:developfrom
GavinHuttley:develop

Conversation

@GavinHuttley

@GavinHuttley GavinHuttley commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Summary by Sourcery

Update coverage configuration usage in CI and fix coverage badge link.

CI:

  • Configure nox test runs in the develop testing workflow to use the coverage settings from pyproject.toml.

Documentation:

  • Update the README coverage badge to reference the HuttleyLab/scitrack repository on Coveralls.

@sourcery-ai

sourcery-ai Bot commented Aug 5, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Updates the CI test workflow to use an explicit coverage configuration from pyproject.toml and corrects the Coveralls coverage badge URLs in the README to point to the HuttleyLab organisation repository.

Flow diagram for updated CI coverage configuration

flowchart LR
    A[GitHub Actions testing_develop workflow] --> B[Install uv]
    B --> C[uv tool install nox]
    C --> D[Run nox -s test-${{ matrix.python-version }}]
    D --> E[pytest --cov-config=${{ github.workspace }}/pyproject.toml]
    E --> F[Generate lcov-${{matrix.os}}-${{matrix.python-version}}.lcov]
    F --> G[Upload coverage to Coveralls]
Loading

File-Level Changes

Change Details Files
Configure pytest coverage in CI to respect the central pyproject.toml config.
  • Extends the nox test command in the GitHub Actions workflow to pass --cov-config pointing at ${github.workspace}/pyproject.toml.
  • Keeps existing coverage reports (lcov, term) and options (cov-append, cov target) unchanged while adding the explicit config reference.
.github/workflows/testing_develop.yml
Fix Coveralls badge links to use the correct GitHub organisation path.
  • Updates the Coveralls badge image URL to use HuttleyLab/scitrack instead of GavinHuttley/scitrack.
  • Updates the Coveralls badge link target to the HuttleyLab/scitrack repository path.
README.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@GavinHuttley
GavinHuttley merged commit 158e62b into HuttleyLab:develop Aug 5, 2026
9 checks passed
@coveralls

Copy link
Copy Markdown
Collaborator

Coverage Report for CI Build 30961901058

Coverage increased (+85.9%) to 97.051%

Details

  • Coverage increased (+85.9%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 373
Covered Lines: 362
Line Coverage: 97.05%
Coverage Strength: 5.82 hits per line

💛 - Coveralls

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