Skip to content

Add Test Reporter GitHub Action Plugin#32

Merged
nselvara merged 1 commit intomainfrom
nselvara/issue27
Jan 2, 2026
Merged

Add Test Reporter GitHub Action Plugin#32
nselvara merged 1 commit intomainfrom
nselvara/issue27

Conversation

@nselvara
Copy link
Owner

@nselvara nselvara commented Jan 2, 2026

Fixes #27

Copilot AI review requested due to automatic review settings January 2, 2026 00:44
@github-actions
Copy link

github-actions bot commented Jan 2, 2026

VUnit Test Results

130 tests  ±0   130 ✅ ±0   7s ⏱️ ±0s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit bf5ea50. ± Comparison against base commit 2e23cc6.

♻️ This comment has been updated with latest results.

Copy link

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 adds the dorny/test-reporter GitHub Action to the VUnit test workflow to provide enhanced test result reporting capabilities. This addresses issue #27.

Key Changes

  • Added a new "Test Report" step using dorny/test-reporter@v2 to process VUnit test results
  • Configured the action to parse test-reports/vunit_results.xml as JUnit XML format
  • Set the step to run with !cancelled() condition and fail-on-error: false settings

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

uses: dorny/test-reporter@c8370352934b730bc7f9acc17180a1f5f3964ffd # v2
if: ${{ !cancelled() }}
with:
name: VUnit Test Results
Copy link

Copilot AI Jan 2, 2026

Choose a reason for hiding this comment

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

The name "VUnit Test Results" conflicts with the check_name used in the "Publish Test Results" step at line 78. Having duplicate names can cause confusion in the GitHub UI when viewing checks and test results. Consider using a more specific name like "Test Report Summary" or "Dorny Test Reporter" to differentiate it from the other test reporting mechanisms.

Suggested change
name: VUnit Test Results
name: VUnit Test Report Summary

Copilot uses AI. Check for mistakes.

- name: Test Report
uses: dorny/test-reporter@c8370352934b730bc7f9acc17180a1f5f3964ffd # v2
if: ${{ !cancelled() }}
Copy link

Copilot AI Jan 2, 2026

Choose a reason for hiding this comment

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

The new "Test Report" step uses a different conditional (if: ${{ !cancelled() }}) compared to the other test reporting steps in the workflow (lines 68, 75, 82) which use if: always(). This inconsistency means this step won't run if the "Run VUnit tests" step fails, while the other test reporting steps will. For consistent test result reporting regardless of test outcome, consider using if: always() instead.

Suggested change
if: ${{ !cancelled() }}
if: always()

Copilot uses AI. Check for mistakes.
@nselvara nselvara merged commit bf975f6 into main Jan 2, 2026
9 checks passed
@nselvara nselvara deleted the nselvara/issue27 branch January 2, 2026 00:46
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.

Add Test Reporter GitHub Action Plugin

2 participants