Skip to content

fix: correct single-precision CI testing#1400

Draft
sbryngelson wants to merge 2 commits intoMFlowCode:masterfrom
sbryngelson:fix/single-precision-testing
Draft

fix: correct single-precision CI testing#1400
sbryngelson wants to merge 2 commits intoMFlowCode:masterfrom
sbryngelson:fix/single-precision-testing

Conversation

@sbryngelson
Copy link
Copy Markdown
Member

@sbryngelson sbryngelson commented May 5, 2026

Closes #759

Summary

  • Add \$PRECISION to the Test step in `.github/workflows/test.yml` so single-precision binaries are actually tested with `--single` tolerances (root bug: `$PRECISION` was only in the Build step env, so the Test step ran double-precision test selection/tolerance against single-precision output)
  • Change single-precision CI job from `mpi: no-mpi` to `mpi: mpi` so `--test-all` is passed and a broader test set is exercised

Test plan

  • CI single-precision job builds with `--mpi --single`
  • CI single-precision job runs tests with `--single` flag (1e-1 tolerances)
  • No regressions in regular (double-precision) CI jobs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Single/modular precision fix ups

1 participant