-
Notifications
You must be signed in to change notification settings - Fork 109
verrou
into Workflow
#937
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
base: master
Are you sure you want to change the base?
verrou
into Workflow
#937
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Adds a new GitHub Actions workflow to run floating-point compliance checks with Valgrind’s verrou tool.
- Introduces
.github/workflows/verrou.yml
for triggering on PRs and pushes - Downloads, builds, and installs the latest Valgrind release
- Executes tests under
verrou
and provides a placeholder for compliance reporting
Comments suppressed due to low confidence (4)
.github/workflows/verrou.yml:24
- The step sources /usr/local/env.sh which is not generated by the Valgrind install; this will likely fail. Instead, export the path (e.g.,
export PATH=/usr/local/bin:$PATH
) or source the correct environment file to ensure Valgrind is on the PATH.
source /usr/local/env.sh
.github/workflows/verrou.yml:27
- Using
--dry-run
prevents actual test execution under Valgrind, so no floating-point errors will be detected. Remove--dry-run
to execute the tests for real.
run: valgrind --tool=verrou ./mfc.sh test -a --dry-run
.github/workflows/verrou.yml:6
- [nitpick] The job identifier
self
is ambiguous; rename it to something descriptive likefloating_point_compliance
orverrou_check
for clarity.
self:
.github/workflows/verrou.yml:31
- This step only echoes a message and does not actually parse or summarize the verrou output. Consider adding commands to collect, report, and fail the workflow when errors are found.
echo "Checking floating point compliance..."
PR Code Suggestions ✨Explore these optional code suggestions:
|
I assume you know this but the use of verrou in our case is very specific (we are looking for quite specific problems involving dangerous floating point operations that could cause round-off error problems). This is what this 'linter' of sorts should be looking for. |
User description
Description
Concerning (#650),
Intended as standalone floating-point error checker.
Debugging info,
The current Valgrind setup ought to be sufficient, so debugging locally (nektos/act extension) or on the CI are all viable.
To-dos,
Ref verrou docs
PR Type
Tests, Enhancement
Description
Add GitHub Actions workflow for floating-point compliance checking
Integrate Valgrind's
verrou
tool for numerical stability testingSet up automated CI pipeline to detect sketchy float operations
Changes diagram
Changes walkthrough 📝
verrou.yml
Add verrou floating-point compliance workflow
.github/workflows/verrou.yml