Skip to content

Fix CI: install rsvg-convert and verapdf when running all tests#14143

Merged
cderv merged 1 commit intomainfrom
fix/ci-install-deps-all-tests
Mar 3, 2026
Merged

Fix CI: install rsvg-convert and verapdf when running all tests#14143
cderv merged 1 commit intomainfrom
fix/ci-install-deps-all-tests

Conversation

@cderv
Copy link
Collaborator

@cderv cderv commented Mar 2, 2026

update-test-timing.yml and daily test-smokes.yml schedule runs pass buckets: "" (run all tests), but rsvg-convert and verapdf were only installed when inputs.buckets contained specific bucket name strings like render-pdf-svg-conversion or pdf-standard. This caused 4 pdf-standard/ua-* tests to fail on every scheduled run since Jan 26, 2026.

Root Cause

The conditional install steps used contains(inputs.buckets, '...') which is false when buckets is empty. Parallel smoke test runs pass because each bucket string contains the test file paths which match the condition.

Failing tests:

  • ua-missing-alt.qmd, ua-image-alt-text.qmd, ua-figure-missing-alt.qmd — missing rsvg-convert for SVG-to-PDF conversion
  • ua-missing-title.qmd — missing verapdf for PDF/UA validation warnings

Fix

Add format('{0}', inputs.buckets) == '' to both install conditions, using the same pattern already used elsewhere in this workflow (lines 253, 262) to detect all-tests mode.

Fixes weekly update-test-timing.yml failures and daily schedule failures.

The update-test-timing.yml and daily test-smokes.yml schedule runs
pass `buckets: ""` (all tests), but rsvg-convert and verapdf were
only installed when `buckets` contained specific bucket names. This
caused 4 pdf-standard/ua-* tests to fail every run since Jan 26.

Use the same `format('{0}', inputs.buckets) == ''` pattern already
used elsewhere in this workflow to detect all-tests mode.

Fixes weekly timing update failures and daily schedule failures.
@posit-snyk-bot
Copy link
Collaborator

posit-snyk-bot commented Mar 2, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@cderv cderv merged commit 9a9b89e into main Mar 3, 2026
46 of 51 checks passed
@cderv cderv deleted the fix/ci-install-deps-all-tests branch March 3, 2026 09:59
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.

2 participants