Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added functionality for running CI unit tests on modified modules only #72

Merged
merged 149 commits into from
Feb 14, 2024

Conversation

hepromark
Copy link
Contributor

@hepromark hepromark commented Feb 8, 2024

Currently CI runs all unit tests on the entire mono-repo regardless of where changes actually occur. This is inefficient & wastes time, since the unit tests are specific to only 1 module and changes outside that module won't impact those tests.

  • Workflow now checks which src directories (action, interfacing, etc...) are changed
  • CI Will only run unit tests under those directories (if action is changed, only modules from action are unit tested)
  • If no src change is detected, all tests will be ran in case of an infrastructure change which might affect everything

@hepromark hepromark merged commit de3ec36 into main Feb 14, 2024
30 checks passed
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.

2 participants