Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Lean testing framework #38

Merged
merged 3 commits into from
Jan 17, 2025
Merged

Add Lean testing framework #38

merged 3 commits into from
Jan 17, 2025

Conversation

mpenciak
Copy link
Contributor

This PR sets up a rudimentary testing framework for the Lean part of the code and closes #34.

  • Removes the Lampe.Basic file and moves it to the top-level Lampe.lean
    • The PR also adds all of the library files to Lampe.lean
    • This can be done automatically with lake exe mk_all --lib Lampe
  • Adds a Tests library
  • Adds a test driver to the lakefile, tests can be executed using lake test
    • Currently the Test is just "Does this module compile?"
    • It can be made more complicated using #guard_msgs commands or more complicated testing
      frameworks
  • Updates CI to perform these checks.

Also included is a little cleanup of the lakefile.lean.

* Add `Tests` lib and test driver
* Remove quotes from package and library names
* Clean up auto-generated comments
@mpenciak mpenciak merged commit 3928b65 into main Jan 17, 2025
6 checks passed
@mpenciak mpenciak deleted the mp/move-examples branch January 17, 2025 20:17
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.

Move Lean examples to a separate file
2 participants