Skip to content

Commit 6ab574a

Browse files
ci: add test_success to simplify PR check (#780)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent e5fb6bf commit 6ab574a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,3 +179,14 @@ jobs:
179179
with:
180180
files: coverage.xml
181181
token: ${{ secrets.CODECOV_TOKEN }}
182+
183+
test_success:
184+
needs: test
185+
if: always()
186+
runs-on: ubuntu-latest
187+
permissions: {}
188+
steps:
189+
- name: Report success or fail
190+
run: |
191+
echo "test workflow exited with ${{ needs.test.result }}"
192+
exit ${{ needs.test.result == 'success' && '0' || '1' }}

0 commit comments

Comments
 (0)