Skip to content

Commit

Permalink
Add check that python test client passed
Browse files Browse the repository at this point in the history
  • Loading branch information
Bento007 committed Aug 2, 2024
1 parent 39d5718 commit 6f73e27
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
check_name: 'Python Client Tests',
filter: 'latest',
});
if (data.workflow_runs[0].conclusion !== 'success') {
core.setFailed('Tests failed on main');
if (data.total_count === 0) {
core.setFailed('No checks found on main');
}
if (data.check_runs[0].conclusion !== 'success') {
core.setFailed('Python Client Tests on main did not pass');
}

0 comments on commit 6f73e27

Please sign in to comment.