Skip to content

Run legacy CLI reference tests in CI - #186

Open
djkees wants to merge 1 commit into
nasa:mainfrom
djkees:ci-test-main-interface
Open

djkees wants to merge 1 commit into
nasa:mainfrom
djkees:ci-test-main-interface

Conversation

@djkees

@djkees djkees commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Summary

test/main_interface/test_main.py is the only harness that compares legacy CLI output against reference values, and no workflow runs it. Now that it exits non-zero on failure (#147), this adds it to the build job on one Linux leg. Tracking issue: djkees#85

Drafted with Claude's assistance

Changes

  • .github/workflows/basic_build.yml: one new step, "Run legacy CLI reference tests", after the smoke tests in the build job. It runs only on linux-x86_64-gfortran and sets CEA_EXE to the built cea.

Testing

  • Ran test_main.py locally on a Windows build configured like the CI build job (C bindings on, Release): 14/14 passed.
  • Ran "Basic Build" on the fork branch: the step ran on linux-x86_64-gfortran and printed "14/14 tests passed."
  • In that run, macos-arm64-gfortran did not start ("configuration 'macos-14-arm64-us-default' is not supported" on my fork's runners). All other jobs passed.

Compatibility / Numerical behavior

  • No expected changes to numerical results
  • Expected changes (explain and provide validation)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant