Skip to content

chore: better handle testNR#3452

Draft
JasonMarechal25 wants to merge 1 commit intodevelopfrom
feature/testNR
Draft

chore: better handle testNR#3452
JasonMarechal25 wants to merge 1 commit intodevelopfrom
feature/testNR

Conversation

@JasonMarechal25
Copy link
Copy Markdown
Contributor

@JasonMarechal25 JasonMarechal25 commented Mar 2, 2026

This pull request introduces a clear policy for managing the version of the Antares_Simulator_Tests_NR submodule in CI workflows, ensuring reproducibility for releases while providing developers with up-to-date test data during development. The workflows for both Ubuntu and Windows now initialize the submodule differently based on whether the run is a release or a development build. Additionally, an Architecture Decision Record (ADR) documents this strategy for future maintainers.

Submodule management improvements:

  • CI workflows (.github/workflows/ubuntu.yml and .github/workflows/windows-vcpkg.yml) now initialize the Antares_Simulator_Tests_NR submodule to the recorded commit for release builds, and to the latest main branch for development builds, ensuring reproducibility and developer convenience. [1] [2]
  • The submodule pointer in src/tests/resources/Antares_Simulator_Tests_NR has been updated to a new commit, reflecting the latest test data.

Documentation:

  • Added a comprehensive ADR (docs/Architecture_Decision_Records/2025-03-02-submodule-version-pinning.md) describing the rationale, implementation details, and consequences of the new submodule management policy.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant