-
Notifications
You must be signed in to change notification settings - Fork 48
ogma-cli: Add CI test for diagram backend #332
Description
Description
Ogma doesn't currently have an automated test for the diagram backend. In order to keep Ogma working in future versions and ensure that the changes introduced do not affect the code generated from diagrams in a negative way, we want to have a test that checks that the code generated at least compiles.
Type
- Maintenance: Add system-level test to comply with needed testing requirements.
Additional context
None.
Requester
- Ivan Perez.
Method to check presence of bug
Not applicable (not a bug).
Expected result
Ogma includes a new Github action file that tests Ogma's diagram backend, compiles the generated application, and checks that it executes correctly.
Desired result
Ogma includes a new Github action file that tests Ogma's diagram backend, compiles the generated application, and checks that it executes correctly.
Proposed solution
Add a new CI action file that generates a Copilot specification from a diagram, compiles the specification into C, compiles the generated C code with a main, runs it, and compares the result against an expectation.
Further notes
None.