Skip to content

Add GitHub Actions CI to run pytest on push and PRs#9

Merged
lucasccordeiro merged 1 commit into
masterfrom
ci/github-actions-pytest
Jun 30, 2026
Merged

Add GitHub Actions CI to run pytest on push and PRs#9
lucasccordeiro merged 1 commit into
masterfrom
ci/github-actions-pytest

Conversation

@lucasccordeiro

@lucasccordeiro lucasccordeiro commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a GitHub Actions workflow that runs the pytest suite automatically. The project had no CI, so regressions in the classification helpers and verify_function (issue #4 / #6) were only caught by running tests by hand.

Workflow (.github/workflows/ci.yml)

  • Triggers on push to master and on every pull request.
  • Matrix across Python 3.9, 3.11, 3.12 (fail-fast: false).
  • Installs the runtime/test deps (colorama pytest ast2json setuptools) and runs python -m pytest tests/ -v.

Notes

  • actions/checkout keeps the 200 MB bin/esbmc git-LFS object as a pointer (no lfs: true). The unit tests don't need a real ESBMC binary; the ESBMC-gated smoke test (separate PR) skips itself when no usable binary is present — so CI stays fast and self-contained.
  • Tests run as python -m pytest from the repo root so the ethcheck package is importable.

Run the pytest suite on push to master and on every pull request across
Python 3.9/3.11/3.12. Checkout leaves the bundled bin/esbmc git-LFS object as
a pointer, so the unit tests run while the ESBMC-gated smoke test self-skips.
@lucasccordeiro lucasccordeiro added the enhancement New feature or request label Jun 28, 2026
@lucasccordeiro lucasccordeiro merged commit ac7f8d9 into master Jun 30, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant