Skip to content

ci: run spec suite on push and pull request - #7

Merged
andicoder merged 1 commit into
mainfrom
feat/ci-workflow
May 15, 2026
Merged

ci: run spec suite on push and pull request#7
andicoder merged 1 commit into
mainfrom
feat/ci-workflow

Conversation

@andicoder

Copy link
Copy Markdown
Owner

Summary

  • Add .github/workflows/test.yml that runs the plenary spec suite on every push to main and on PRs targeting main.
  • Install Neovim stable via rhysd/action-setup-vim, clone plenary.nvim into ~/.local/share/nvim/lazy/plenary.nvim (the path spec/minimal_init.lua asserts on), then run make test.
  • Add a CI status badge to the top of the README so the build state is visible at a glance.

Test plan

  • Workflow appears under the Actions tab and runs on this PR
  • All 51 specs pass on the runner (matches local make test)
  • PR shows the test status check; a deliberately broken test would mark the check red
  • README badge renders and links to the workflow page

Fixes #4

Why: tests previously ran only when contributors remembered locally; PRs
had no signal that the busted suite still passed. Closes #4.

Workflow installs Neovim stable, clones plenary.nvim into the path
`spec/minimal_init.lua` expects, then runs `make test`. README gains a
status badge so the state is visible at a glance.
@andicoder
andicoder merged commit 06d8bbf into main May 15, 2026
1 check passed
@andicoder
andicoder deleted the feat/ci-workflow branch May 15, 2026 11:21
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: automated tests on push and pull requests

1 participant