Skip to content

Update testing suite#113

Merged
akeeste merged 3 commits into
WEC-Sim:devfrom
akeeste:update_tests
Jun 30, 2026
Merged

Update testing suite#113
akeeste merged 3 commits into
WEC-Sim:devfrom
akeeste:update_tests

Conversation

@akeeste

@akeeste akeeste commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

This PR:

  • adds a setup job to every test that removes the slprj folder so that tests can be rerun most robustly locally when multiple matlab versions are being used
  • updates the versions of GitHub Actions to the current releases
  • adds calls to close_system and closes each simulink model after running so that there are no naming conflicts as the entire test suite runs

@akeeste

akeeste commented Jun 30, 2026

Copy link
Copy Markdown
Contributor Author

The calls rmdir to remove the slprj do pose a slight risk to the user locally since directories are being forcibly deleted. This specific function (identical across all tests) identifies and removes only directories named exactly slprj within the current working directory of that test file. This should typically be perfectly safe

@akeeste akeeste merged commit 71856c4 into WEC-Sim:dev Jun 30, 2026
2 of 53 checks passed
@akeeste akeeste deleted the update_tests branch June 30, 2026 20:25
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