Skip to content

Conversation

@hwikle-lanl
Copy link
Collaborator

Code review checklist:

  • Code is generally sensical and well commented
  • Variable/function names all telegraph their purpose and contents
  • Functions/classes have useful doc strings
  • Function arguments are typed
  • Added/modified unit tests to cover changes.
  • New features have documentation added to the docs.
  • New features and backwards compatibility breaks are noted in the RELEASE.md

@hwikle-lanl hwikle-lanl added this to the 2.5 milestone Apr 2, 2025
@hwikle-lanl hwikle-lanl self-assigned this Apr 2, 2025
@hwikle-lanl hwikle-lanl linked an issue Apr 2, 2025 that may be closed by this pull request
@Paul-Ferrell
Copy link
Collaborator

This should be an option to build/run, but the default should be 'true'.

@hwikle-lanl hwikle-lanl force-pushed the 817-automatically-perform-module-purge-before-building-tests branch from 1548921 to 227fc75 Compare April 2, 2025 20:38
@hwikle-lanl hwikle-lanl force-pushed the 817-automatically-perform-module-purge-before-building-tests branch from 078143f to 0e5e4cb Compare April 28, 2025 17:39
@Paul-Ferrell
Copy link
Collaborator

I saw that you added a commit that module purges only when modules are specified. It should be always (if enabled), with checks for whether a module system is present (IE - does the module alias exist?

@hwikle-lanl hwikle-lanl force-pushed the 817-automatically-perform-module-purge-before-building-tests branch from ab1517f to 44ed410 Compare April 30, 2025 19:16
@hwikle-lanl hwikle-lanl force-pushed the 817-automatically-perform-module-purge-before-building-tests branch from 16b74fd to 4809ee5 Compare May 20, 2025 15:10
@Paul-Ferrell Paul-Ferrell merged commit 2e612d8 into develop May 20, 2025
7 checks passed
hwikle-lanl added a commit that referenced this pull request Jul 15, 2025
* Perform module purge before building

* Various changes

* Purge modules before building and running

* Only perform module purge when modules are specified

* Add argument to disable module purging

* Add purge_modules option to build and run

* Revert commits on wrong branch

* Remove module purge cmd line arg

* Make module purge unit test more robust

* Made some progress

* Fix module purge in build/run script

* Fix module purge run test

* Fix module purge build unit test

* Fix log test

* Skip module purge tests when no module syste

* Attempt to fix module purge

* Fix log command test

* Fix purging behavior in unit tests (maybe)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automatically perform module purge before building tests

3 participants