Skip to content

ci(workflow): add GitHub Actions quality check pipeline with SonarCloud#11

Merged
twicechild merged 1 commit intodevelopfrom
feature/ERS1-104/cicd-workflow
Mar 2, 2026
Merged

ci(workflow): add GitHub Actions quality check pipeline with SonarCloud#11
twicechild merged 1 commit intodevelopfrom
feature/ERS1-104/cicd-workflow

Conversation

@twicechild
Copy link

Summary

Add CI pipeline for ERE-Basic (ERS1-104), aligned with the entity-resolution-spec workflow conventions.

What's included

  • code-quality.yaml — GitHub Actions workflow triggered on push to develop and PRs targeting develop
  • Tox environments: py312 (unit + integration tests), architecture (import-linter), clean-code (pylint)
  • Redis 7 service container for integration tests (passwordless, .env.local removed in CI)
  • SonarCloud scan with sonarqube-scan-action@v6 — runs unconditionally so coverage is always reported
  • README badges: SonarCloud quality gate, coverage, license, Python version
  • tox.ini fixes: poetry sync (replaces deprecated --sync), corrected coverage source path, REDIS_* passenv
  • .pylintrc fix: ignore legacy _test_* files with broken imports

- Add code-quality.yaml: install, tox (tests + architecture + clean-code), SonarCloud scan
- Redis 7 service container for integration tests
- Poetry via pipx, Python version read from pyproject.toml, action versions aligned with entity-resolution-spec
- Fix tox.ini: poetry sync, coverage source path, REDIS passenv
- Fix .pylintrc: ignore legacy _test_* files with broken imports
- Add README badges: SonarCloud quality gate, coverage, license, Python version
- SonarCloud scan runs unconditionally (if: always()) to report even when tox fails
@twicechild twicechild self-assigned this Feb 27, 2026
@sonarqubecloud
Copy link

@gkostkowski gkostkowski requested a review from costezki February 27, 2026 16:16
Copy link
Collaborator

@gkostkowski gkostkowski left a comment

Choose a reason for hiding this comment

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

Looks good, thank you.

@twicechild twicechild merged commit cef7d54 into develop Mar 2, 2026
1 of 2 checks passed
@twicechild twicechild deleted the feature/ERS1-104/cicd-workflow branch March 2, 2026 16:35
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