Skip to content

feat: add minimal GitHub Actions test workflow#296

Open
SchulteDev wants to merge 1 commit intohaumacher:masterfrom
SchulteDev:feat/github-test-action
Open

feat: add minimal GitHub Actions test workflow#296
SchulteDev wants to merge 1 commit intohaumacher:masterfrom
SchulteDev:feat/github-test-action

Conversation

@SchulteDev
Copy link
Copy Markdown
Contributor

@SchulteDev SchulteDev commented Apr 14, 2026

Closes #205

Summary

  • Adds .github/workflows/test.yml: runs mvn test across all modules on every push and pull request
  • Uses actions/setup-java@v4 with Temurin 17 (matches maven.compiler.source/target = 17 in pom.xml) and Maven dependency caching
  • Creates a minimal .phoneblock from the existing template so the enforcer check passes (tests use an in-memory H2 database and need no real credentials)
  • Uses dorny/test-reporter@v3 to surface Surefire JUnit XML results as inline GitHub Check annotations on PRs

Note

This PR assumes the DeepL plugin fix #295 (moving auto-translate-maven-plugin and tl-maven-plugin to the with-deepl profile) is merged first — otherwise the workflow will fail on the phoneblock module for the same reason mvn test fails locally today.

Introduces a minimal CI workflow that builds and tests all Maven modules
on every push and pull request. Uses dorny/test-reporter@v3 to surface
JUnit surefire results as inline GitHub Check annotations.

Closes haumacher#205

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@SchulteDev SchulteDev force-pushed the feat/github-test-action branch from e05a994 to 427eab0 Compare April 14, 2026 11:15
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.

Automatically test PhoneBlock on GitHub

1 participant