Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/vidiff-linux-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,20 @@ jobs:
echo "::endgroup::"
done

- name: Debug generated reports
if: steps.changed-vis.outputs.has_changes == 'true'
run: |
REPORT_DIR="${{ github.workspace }}/pr/vidiff-reports"
echo "Report directory: $REPORT_DIR"
if [ -d "$REPORT_DIR" ]; then
echo "Contents of $REPORT_DIR:"
find "$REPORT_DIR" -maxdepth 5 -type f | sort
HTML_COUNT=$(find "$REPORT_DIR" -type f -name '*.html' | wc -l)
echo "HTML report count: $HTML_COUNT"
else
echo "Report directory does not exist: $REPORT_DIR"
fi

- name: Upload VIDiff reports
if: steps.changed-vis.outputs.has_changes == 'true'
uses: actions/upload-artifact@v4
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/vidiff-windows-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,22 @@ jobs:
}

- name: Upload VIDiff reports
if: steps.changed-vis.outputs.has_changes == 'true'
shell: pwsh
run: |
$reportDir = Join-Path "${{ github.workspace }}" "pr\vidiff-reports"
Write-Host "Workspace root: ${{ github.workspace }}"
Write-Host "Expected report directory: $reportDir"
if (Test-Path $reportDir) {
Write-Host "Contents of ${reportDir}:"
Get-ChildItem -Path $reportDir -Recurse | Select-Object FullName, Length
} else {
Write-Host "Expected report directory does not exist."
}
Write-Host "VIDiff report directories discovered under PR checkout:"
Get-ChildItem -Path (Join-Path "${{ github.workspace }}" "pr") -Directory -Recurse -Filter "vidiff-reports" | Select-Object FullName

- name: Upload VIDiff reports artifact
if: steps.changed-vis.outputs.has_changes == 'true'
uses: actions/upload-artifact@v4
with:
Expand Down
Binary file modified examples/cicd-examples/Test-VIs/ArthOps.vi
Binary file not shown.
Binary file modified examples/cicd-examples/Test-VIs/CreateNewProj.vi
Binary file not shown.