thriving-dev / java-library-template

🎨 Java library template • Gradle Kotlin DSL • GitHub Actions CI/CD to build, release & publish to Maven Central • Renovate • Trivy • Javadoc (Pages) • Issue & PR Templates
https://www.youtube.com/watch?v=nXs7hSV6ris&list=PL1tfxqbktkFYK5zYjfHxt4wFOus5R9Y3g&index=1
Other
32 stars 4 forks source link

CICD job 'integration test' does not publish test results #25

Closed hartmut-co-uk closed 9 months ago

hartmut-co-uk commented 9 months ago

Describe the bug

The 'integration test' mikepenz/action-junit-report@v4 always publishes empty test reports.

Library version(s) affected

<= 1.1.1

Steps to reproduce

Check any build pipelines for 'integration test' results:

image

Additional context, environment

No response

Logs

Run mikepenz/action-junit-report@v4
  with:
    report_paths: **/build/test-results/test/TEST-*.xml
    token: ***
    annotate_only: false
    check_annotations: true
    update_check: false
    check_name: JUnit Test Report
    fail_on_failure: false
    require_tests: false
    require_passed_tests: false
    include_passed: false
    check_retries: false
    transformers: []
    job_summary: true
    detailed_summary: false
    annotate_notice: false
    follow_symlink: false
    job_name: intTest
    truncate_stack_traces: true
  env:
    JAVA_HOME: /opt/hostedtoolcache/Java_Corretto_jdk/21.0.2-13.1/x64
    JAVA_HOME_21_X64: /opt/hostedtoolcache/Java_Corretto_jdk/21.0.2-13.1/x64
    GRADLE_BUILD_ACTION_SETUP_COMPLETED: true
    GRADLE_BUILD_ACTION_CACHE_RESTORED: true
📘 Reading input values
📦 Process test results
  Retrieved 1 reports to process.
  ℹ️ Posting with conclusion 'success' to refs/heads/main (sha: 9207686e078f830d4a52baa0bd7706803dddaedb)
🚀 Publish results
  ℹ️ - JUnit Test Report - No test results found!
  ℹ️ - JUnit Test Report - Creating check (Annotations: 0)