Skip to content

Add CI: syntax-check all Prolog files and smoke-test README query examples#11

Merged
bushidocodes merged 1 commit into
masterfrom
claude/wonderful-mirzakhani-b4d810
Jun 18, 2026
Merged

Add CI: syntax-check all Prolog files and smoke-test README query examples#11
bushidocodes merged 1 commit into
masterfrom
claude/wonderful-mirzakhani-b4d810

Conversation

@bushidocodes

Copy link
Copy Markdown
Owner

Summary

  • Adds .github/workflows/ci.yml that runs on every push and pull request
  • Installs SWI-Prolog on ubuntu-latest and syntax-checks all .pl files via swipl -g true
  • Smoke-tests each file against the exact query examples documented in the README

Test plan

  • CI green on this PR itself
  • friends.pl: confirms friend(wallace,grommit), friend(grommit,wallace), and \+friend(wallace,wendolene)
  • food.pl: confirms food_flavor(spam,savory), food_flavor(twinkie,sweet), and the ritz edge case
  • map.pl: confirms coloring/5 finds at least one valid 3-coloring
  • ohmy.pl: confirms dorothy(lion,tiger,bear) unification and cat/1 facts

Closes #10

🤖 Generated with Claude Code

…mples

Closes #10

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@bushidocodes bushidocodes merged commit d483f06 into master Jun 18, 2026
2 checks passed
@bushidocodes bushidocodes deleted the claude/wonderful-mirzakhani-b4d810 branch June 18, 2026 18:33
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 CI: syntax-check all Prolog files and smoke-test README query examples

1 participant