-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow jobs to be passed in lazily to repository definitions (#7382)
Summary: This check was crashing when a job was passed in lazily. It will still crash when a graph is passed in lazily (the assumption that repos consist of jobs not graphs appears to be pretty deep) but this will make it so that users can pass in a lambda that returns a job. The error is a bit odd, but is the same error you would get if you passed in a job function that returned some other random object that wasn't a job.
- Loading branch information
Showing
2 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters