mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-04 06:25:32 +00:00
This splits the executor from the RunContext into its own function called newJobExecutor. We defined an interface called jobInfo which is implemented by the RunContext. This enables better unit testing because only a small interface needs to be mocked. This is a preparation for implementing pre and post actions. Co-authored-by: Björn Brauer <[email protected]> Co-authored-by: Marcus Noll <[email protected]> Co-authored-by: Jonas Holland <[email protected]> Co-authored-by: Robert Kowalski <[email protected]> Co-authored-by: Markus Wolf <[email protected]> Co-authored-by: Björn Brauer <[email protected]> Co-authored-by: Marcus Noll <[email protected]> Co-authored-by: Jonas Holland <[email protected]> Co-authored-by: Robert Kowalski <[email protected]> Co-authored-by: Markus Wolf <[email protected]>