Skip to content

chore: upgrade CI/CD pipeline with comprehensive testing and code qua…#40

Merged
rilma merged 30 commits intomainfrom
features/upgrade-ci-cd
Feb 21, 2026
Merged

chore: upgrade CI/CD pipeline with comprehensive testing and code qua…#40
rilma merged 30 commits intomainfrom
features/upgrade-ci-cd

Conversation

@rilma
Copy link
Copy Markdown
Owner

@rilma rilma commented Feb 21, 2026

…lity checks

  • Replace minimal smoke.yml with full CI workflow (build-and-test, lint, typecheck jobs)
  • Add multi-version testing (Python 3.11 for now)
  • Implement code quality checks: ruff (lint/format) and mypy (type checking)
  • Add .pre-commit-config.yaml for local development workflow
  • Update pyproject.toml with tool.ruff and tool.mypy configuration
  • Add Makefile targets: lint, lint-fix, format, typecheck, pre-commit
  • Update Makefile dev targets to install ruff and mypy
  • Add coverage reporting to CI pipeline with Codecov integration
  • Update README with badges and new command documentation

Addresses issue #12: CI/CD improvements

rilma and others added 6 commits February 21, 2026 20:50
…lity checks

- Replace minimal smoke.yml with full CI workflow (build-and-test, lint, typecheck jobs)
- Add multi-version testing (Python 3.11, 3.12, 3.13)
- Implement code quality checks: ruff (lint/format) and mypy (type checking)
- Add .pre-commit-config.yaml for local development workflow
- Update pyproject.toml with tool.ruff and tool.mypy configuration
- Add Makefile targets: lint, lint-fix, format, typecheck, pre-commit
- Update Makefile dev targets to install ruff and mypy
- Add coverage reporting to CI pipeline with Codecov integration
- Update README with badges and new command documentation

Addresses issue #12: CI/CD improvements
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR comprehensively upgrades the CI/CD pipeline to add automated testing, linting, and type checking, addressing issue #12. The changes introduce ruff for code formatting/linting and mypy for type checking, along with pre-commit hooks for local development. All Python code has been reformatted to follow the new standards (double quotes, 100-character line length, consistent formatting).

Changes:

  • Replaced minimal smoke.yml workflow with a full CI pipeline featuring three jobs: build-and-test, lint, and typecheck
  • Added ruff and mypy as code quality tools with configuration in pyproject.toml and .pre-commit-config.yaml
  • Reformatted all Python files to use double quotes, improved formatting, and removed unused imports (notably seaborn)

Reviewed changes

Copilot reviewed 20 out of 20 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
.github/workflows/smoke.yml Upgraded from single smoke test to 3-job CI pipeline with build-and-test, lint, and typecheck jobs
.pre-commit-config.yaml Added pre-commit hooks for ruff linting/formatting and mypy type checking
pyproject.toml Added tool configurations for ruff, mypy, and pytest
Makefile Added new targets: lint, lint-fix, format, typecheck, pre-commit
README.md Updated badges and added documentation for new quality check commands
CHANGELOG.md Documented CI/CD improvements and new tooling
pyiri2016/init.py Reformatted with double quotes, improved spacing and function call formatting
pyiri2016/iri2016prof2D.py Reformatted imports, strings, and function calls; removed unused seaborn import
pyiri2016/api/update.py Reformatted with consistent quote style and spacing
tests/test_api.py Reformatted and removed unused result variable
tests/test.py Reformatted with double quotes and improved formatting
settings/settings.py Reformatted with double quotes
examples/*.py Reformatted all example files, removed unused seaborn imports
scripts/*.py Reformatted all script files, removed unused seaborn imports, improved function call formatting

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

rilma and others added 3 commits February 21, 2026 21:41
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 20 out of 20 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 20 out of 20 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 21, 2026

@rilma I've opened a new pull request, #41, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 21, 2026

@rilma I've opened a new pull request, #42, to work on those changes. Once the pull request is ready, I'll request review from you.

rilma and others added 6 commits February 21, 2026 22:00
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…rror

Co-authored-by: rilma <14822065+rilma@users.noreply.github.com>
Co-authored-by: rilma <14822065+rilma@users.noreply.github.com>
Co-authored-by: rilma <14822065+rilma@users.noreply.github.com>
…ed with correct URL

Co-authored-by: rilma <14822065+rilma@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 20 out of 20 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 20 out of 20 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

rilma and others added 2 commits February 21, 2026 22:28
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 21, 2026

@rilma I've opened a new pull request, #43, to work on those changes. Once the pull request is ready, I'll request review from you.

Co-authored-by: rilma <14822065+rilma@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 20 out of 20 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

rilma and others added 3 commits February 21, 2026 22:48
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 21, 2026

@rilma I've opened a new pull request, #44, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 21, 2026

@rilma I've opened a new pull request, #45, to work on those changes. Once the pull request is ready, I'll request review from you.

@rilma rilma merged commit 1a47c60 into main Feb 21, 2026
3 checks passed
@rilma rilma deleted the features/upgrade-ci-cd branch February 21, 2026 22:31
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.

3 participants