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

Selective PyTest workflow on Github actions #146

Merged
merged 42 commits into from
Mar 12, 2024

Conversation

laserkelvin
Copy link
Collaborator

This PR creates workflows for selectively running PyTest based on contents of pull requests.

The idea is that certain tests are only based on changes in submodules, i.e. we only run dataset related tests if datasets are changed, etc.

Not entirely sure about performance right now, but it uses micromamba to create and cache environments based on the conda.yml in the root folder.

Signed-off-by: Kin Long Kelvin Lee <[email protected]>
Signed-off-by: Kin Long Kelvin Lee <[email protected]>
Signed-off-by: Kin Long Kelvin Lee <[email protected]>
@laserkelvin laserkelvin added the code maintenance Issue/PR for refactors, code clean up, etc. label Mar 12, 2024
@laserkelvin laserkelvin requested a review from melo-gonzo March 12, 2024 17:11
Signed-off-by: Kin Long Kelvin Lee <[email protected]>
Signed-off-by: Kin Long Kelvin Lee <[email protected]>
Signed-off-by: Kin Long Kelvin Lee <[email protected]>
Signed-off-by: Kin Long Kelvin Lee <[email protected]>
Copy link
Collaborator

@melo-gonzo melo-gonzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fantastic

@laserkelvin laserkelvin merged commit 6c5743a into IntelLabs:main Mar 12, 2024
0 of 4 checks passed
@laserkelvin laserkelvin deleted the ci-actions-pytest branch March 12, 2024 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code maintenance Issue/PR for refactors, code clean up, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants