ci: align matrix with current verification gates

This commit is contained in:
Cathryn Lavery
2026-08-12 10:08:08 -07:00
parent c492b1d98f
commit 86dda261a3
4 changed files with 14 additions and 47 deletions
+9 -42
View File
@@ -44,13 +44,16 @@ jobs:
run: python scripts/test-lint-a11y.py
- name: Verify URL SVG normalization
run: python3 scripts/test-build-icons-quoted-attributes.py
id: url_icons
run: python scripts/test-build-icons-quoted-attributes.py
- name: Verify Devicon normalization
run: python3 scripts/test-build-icons-devicon.py
id: devicon
run: python scripts/test-build-icons-devicon.py
- name: Verify mojibake repair utility
run: python3 scripts/test-fix-mojibake.py
id: mojibake
run: python scripts/test-fix-mojibake.py
- name: Run skin linter
id: skin
@@ -68,35 +71,6 @@ jobs:
id: mermaid
run: python scripts/verify-mermaid-import.py
- name: Verify onboarding CLI script (if present)
id: onboard
shell: bash
run: |
if [ -f scripts/verify-onboarding.py ]; then
python scripts/verify-onboarding.py
fi
- name: Install Playwright & Chromium (if linter present)
id: playwright_install
shell: bash
run: |
if [ -f scripts/lint-render.py ]; then
python -m pip install playwright
if [ "${{ runner.os }}" = "Linux" ]; then
python -m playwright install --with-deps chromium
else
python -m playwright install chromium
fi
fi
- name: Verify render layout validator self-test (if present)
id: lint_render
shell: bash
run: |
if [ -f scripts/lint-render.py ]; then
python scripts/lint-render.py --self-test --screenshot-dir failure-screenshots
fi
- name: Verify generated icon assets
id: icons
shell: bash
@@ -106,16 +80,6 @@ jobs:
skills/diagram-design/assets/icons.html \
skills/diagram-design/references/primitive-icons.md
- name: Upload linter failure artifacts
if: failure()
uses: actions/upload-artifact@v4
with:
name: linter-failure-artifacts-${{ matrix.os }}-python-${{ matrix.python-version }}
path: |
failure-screenshots/
scripts/fixtures/
skills/diagram-design/assets/
- name: Generate CI execution summary table
if: always()
shell: bash
@@ -124,6 +88,9 @@ jobs:
echo "| Verification Gate | Outcome |" >> $GITHUB_STEP_SUMMARY
echo "|---|---|" >> $GITHUB_STEP_SUMMARY
echo "| SVG Accessibility Contract | ${{ steps.a11y.outcome == 'success' && '✅ Passed' || (steps.a11y.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
echo "| URL SVG Normalization | ${{ steps.url_icons.outcome == 'success' && '✅ Passed' || (steps.url_icons.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
echo "| Devicon Normalization | ${{ steps.devicon.outcome == 'success' && '✅ Passed' || (steps.devicon.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
echo "| Mojibake Repair Utility | ${{ steps.mojibake.outcome == 'success' && '✅ Passed' || (steps.mojibake.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
echo "| Color Palette & Skin Linter | ${{ steps.skin.outcome == 'success' && '✅ Passed' || (steps.skin.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
echo "| Sequence Diagram Grammar | ${{ steps.oauth.outcome == 'success' && '✅ Passed' || (steps.oauth.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY
echo "| Draw.io Import Extractor | ${{ steps.drawio.outcome == 'success' && '✅ Passed' || (steps.drawio.outcome == 'skipped' && '⏭️ Skipped' || '❌ Failed') }} |" >> $GITHUB_STEP_SUMMARY