-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci-datapath: Fix issue where test were wrongly reported as passing
Before this commit, the ci-datapath workflow would update the PR status for each `setup-and-test` matrix job. That however lead to the PR being marked as green as soon as the first matrix job succeeded, even though later tests might fail. Worse, if an earlier matrix job failed, and a later one succeeded, the latter job masked the failure of the earlier job and marked the PR as green as well. This commit fixes the issue by only updating the commit status once all jobs have run. This technique is taken from #23865 and has been used for the BPF verifier workflow for a while. Signed-off-by: Sebastian Wicki <sebastian@isovalent.com>
- Loading branch information
Showing
2 changed files
with
118 additions
and
74 deletions.
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