Skip to content

Commit

Permalink
Correct test failure in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
simone-kalbermatter committed Oct 1, 2023
1 parent da72128 commit ace5afd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/karate_be1-go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ jobs:
branch: report-karate-be1-go
directory: report-repo

- name: Fail job if the tests were not successful
# Catchup of tests failure such that the job fo fail
if: steps.tests.outcome == 'failure'
- name: Fail job if either the server or client tests were not successful
if: steps.tests_client.outcome == 'failure' || steps.tests_server.outcome == 'failure'
run: exit 1
5 changes: 2 additions & 3 deletions .github/workflows/karate_be2-scala.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ jobs:
branch: report-karate-be2-scala
directory: report-repo

- name: Fail job if the tests were not successful
# Catchup of tests failure such that the job fo fail
if: steps.tests.outcome == 'failure'
- name: Fail job if either the server or client tests were not successful
if: steps.tests_client.outcome == 'failure' || steps.tests_server.outcome == 'failure'
run: exit 1

0 comments on commit ace5afd

Please sign in to comment.