Update Actions UnitTest Workflow #136
Merged
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 updates the build and test workflows to use newer versions of Python, GitHub Actions, and related build tools, while also refining platform and Python version support. The changes aim to modernize CI/CD processes, improve compatibility, and streamline builds for supported platforms.
CI/CD Workflow Updates
cp39,cp310,cp311,cp312). Dropped support for Python 3.8 and older. [1] [2] [3]actions/checkout@v4,actions/setup-python@v5,actions/upload-artifact@v4,pypa/[email protected]). [1] [2] [3] [4] [5]Platform and Dependency Adjustments
windows-latest,macos-latest, andubuntu-latestinstead of specific OS versions. [1] [2]ninjaas a build requirement for macOS systems inswmm-toolkit/build-requirements.txt.setup.pyfrom 10.9 to 11.0 to match modern macOS standards.CMake and SWIG Build Configuration
SWIG_COMPILE_DEFINITIONSforoutputandsolvertargets to empty (EXPORT_OUT_API=andEXPORT_TOOLKIT=) in CMakeLists to ensure proper symbol exporting on macOS and other platforms. [1] [2]