Skip to content
New issue

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

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

Already on GitHub? # to your account

Test during run #26

Open
MaxHalford opened this issue Jan 5, 2024 · 0 comments
Open

Test during run #26

MaxHalford opened this issue Jan 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@MaxHalford
Copy link
Member

We have a --fail-fast flag to stop lea run if a view fails. This is efficient and surfaces errors as early as possible. For testing, we always run lea test after lea build. Therefore, tests that fails are always surfaced after the whole DAG succeeds.

It would cool to be able to run a test once its dependencies have been refreshed. That would surface errors as soon as possible, and save compute credits.

In terms of implementation, the difficulty is to detect when the views that a test depends on have been refreshed. In theory its straightforward, but we do have to handle the case of partial refreshes such as lea run --select git+.

@MaxHalford MaxHalford added the enhancement New feature or request label Jan 5, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant