Skip to content

fix(site): make CI pass with the published talk deck - #85

Merged
bhavsarpratik merged 2 commits into
mainfrom
fix/talk-deck-ci
Oct 22, 2026
Merged

bhavsarpratik merged 2 commits into
mainfrom
fix/talk-deck-ci

Conversation

@bhavsarpratik

Copy link
Copy Markdown
Member

Summary

Follow-up to #84, which merged before its test fix was pushed. Since then, main fails the Unit tests job on macOS and Ubuntu.

  • Updates tests/test_marketing_site.py so the deck counts as published Pages content:
    • lists the deck's files in the Pages source contract
    • expects /talk/ in the sitemap
    • resolves directory links like talk/ to index.html
  • Adds TalkDeckContractTests, which checks that the deck loads only local assets and links back to the site.
  • Strips trailing whitespace from docs/talk/index.html and docs/talk/fonts/OFL-Tektur.txt. This was failing Static checks (git diff --check) on the original PR branch. The change is whitespace-only: git diff -w is empty.

Test plan

  • python3 -m unittest discover -s tests: 1536 tests OK (17 skipped)
  • git diff --check origin/main HEAD is clean
  • CI Tests workflow is green on this PR

🤖 Generated with Claude Code

bhavsarpratik and others added 2 commits October 22, 2026 22:22
Lists the deck files in the Pages source contract, adds /talk/ to the expected sitemap, resolves directory links to index.html, and checks the deck only loads local assets and links back to the site.

Co-Authored-By: Claude Code <noreply@anthropic.com>
Co-Authored-By: Claude Code <noreply@anthropic.com>
@bhavsarpratik
bhavsarpratik merged commit 1dfe20f into main Oct 22, 2026
9 checks passed
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.

1 participant