Feature/ci pipeline#1
Merged
Merged
Conversation
…ith ctest verification
… pydantic during cmake configuration
…mpile errors in Release build mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a comprehensive C++ and Python testing framework for the project, integrates it into CI, and adds robust unit tests for core C++ modules. The main highlights are the addition of a GitHub Actions CI workflow, C++ unit test targets and test runner, and improved Python test scripts for dialect parsing and generator validation.
Continuous Integration & Build System Integration
.github/workflows/ci.yml) to automate build, Python and C++ unit tests, and dialect validation on push and pull requests.test_runner) that runs all C++ unit tests. [1] [2]C++ Unit Tests
Routerservice (bridge/test/test_router.cc) covering subscription, message routing, filter logic, and cleanup.MessageConverter(bridge/test/test_converter.cc) to verify round-trip conversion between MAVLink and Protobuf messages.bridge/test/test_runner.cc) to orchestrate and report results for all C++ unit tests.Python Test Improvements
generator/test/test_parser.py,generator/test/test_generator.py) to support boththird_party/mavlinkandmavlinksource directories. [1] [2]get_flattened_dialectfor more robust dialect loading.Dependency Updates
nlohmann-json3-devto system dependencies in both the setup script and CI workflow to support C++ JSON functionality. [1] [2]