Skip to content

ci: GitHub Actions pipeline with tests and PR coverage comments - #17

Merged
RZEROSTERN merged 1 commit into
developfrom
feature/github-actions-ci
Sep 30, 2026
Merged

RZEROSTERN merged 1 commit into
developfrom
feature/github-actions-ci

Conversation

@RZEROSTERN

@RZEROSTERN RZEROSTERN commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds a CI pipeline (.github/workflows/ci.yml) that runs on every push and pull request targeting develop or master:

  • Unit tests and coverage — runs testDebugUnitTest on every module with JDK 17, generates the JaCoCo reports, and enforces the existing 80% line coverage gate on openpay-sdk (jacocoCoverageVerification).
  • Coverage comment — on pull requests, Madrapps/jacoco-report posts a single auto-updating comment with the overall coverage and the coverage of the changed files (80% thresholds for the pass/fail markers).
  • Instrumented tests — boots an API 34 emulator (KVM-accelerated) and runs connectedDebugAndroidTest.
  • HTML coverage and test reports are uploaded as artifacts on every run, even on failure.

Also adds the docs/{en,es,fr,pt}/ci.md guide (with a mermaid diagram of the pipeline) and links it from the README documentation table.

Test plan

  • ./gradlew testDebugUnitTest jacocoTestReport :openpay-sdk:jacocoCoverageVerification passes locally and produces the XML reports at the paths the workflow globs.
  • This PR itself should trigger the pipeline: check that both jobs pass and that the coverage comment appears below.

🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Unit test coverage

Overall Project 82.94% 🍏

There is no coverage information present for the Files changed

@RZEROSTERN
RZEROSTERN merged commit 9a950d2 into develop Sep 30, 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