Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/test-podman-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,3 +178,10 @@ jobs:

echo "Sending notification to Power Automate..."
curl -X POST -H "Content-Type: application/json" -d "$JSON_PAYLOAD" "${{ secrets.PYFLUENT_WEBHOOK_URL }}"


- name: Check test run status and fail the whole job if tests failed
if: steps.fluent_test.outcome != 'success'
run: |
echo "One or more tests failed. Failing the job."
exit 1
7 changes: 7 additions & 0 deletions .github/workflows/test-run-dev-version-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,10 @@ jobs:

echo "Sending notification to Power Automate..."
curl -X POST -H "Content-Type: application/json" -d "$JSON_PAYLOAD" "${{ secrets.PYFLUENT_WEBHOOK_URL }}"

- name: Check test run status and fail the whole job if tests failed
if: steps.unittest.outcome != 'success'
run: |
echo "One or more tests failed. Failing the job."
exit 1

1 change: 1 addition & 0 deletions doc/changelog.d/4564.maintenance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fail the whole nightly job at the end if the testing step has failed [skip tests]
Loading