Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

GHA: is it possible to run tests only against changed targets? #16

Closed
Andersson007 opened this issue Aug 8, 2022 · 4 comments
Closed
Labels

Comments

@Andersson007
Copy link
Contributor

Currently if any file is changed in a repository with GHA, it runs all available tests (all targets).
It affects GHA CI performance across all the collection under the ansible-collections.
It causes the long queue, so contributors can wait for hours with "Queued task" to get the result.

If we could find a way to make GHA to run only targets related to changed files, it'd be really cool.

@Andersson007
Copy link
Contributor Author

@Andersson007
Copy link
Contributor Author

Andersson007 commented Jan 3, 2023

it GHA matrix does not use encapsulation, add --changed to all invocations of the ansible-test command in GHA matrix

Create similar issues in other repos using GHA

@Andersson007
Copy link
Contributor Author

@Andersson007
Copy link
Contributor Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant