Skip to content

Enhance CI workflow with coverage reporting and README badges#5

Merged
sni10 merged 1 commit into
mainfrom
dev
Jul 17, 2026
Merged

Enhance CI workflow with coverage reporting and README badges#5
sni10 merged 1 commit into
mainfrom
dev

Conversation

@sni10

@sni10 sni10 commented Jul 17, 2026

Copy link
Copy Markdown
Owner

This pull request adds comprehensive tests for the upload_to_stash and publish_deviation functions, improves test coverage reporting, and enhances project documentation with badges. The main improvements are grouped below.

Testing improvements:

  • Added unit tests for upload_to_stash and publish_deviation using unittest.mock to simulate HTTP requests, covering success cases, API errors, network errors, and optional parameters.
  • Imported the necessary functions and mocking utilities in tests/test_node.py to support the new tests. [1] [2]

CI and coverage reporting:

  • Updated .github/workflows/ci.yml to install pytest-cov, run tests with coverage collection, and upload coverage reports to Codecov.

Documentation:

  • Added status and coverage badges to README.md to display release version, test status, coverage, supported Python version, and license.

@sni10
sni10 merged commit 35ffa8b into main Jul 17, 2026
2 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.

1 participant