Skip to content

Commit 66287e3

Browse files
authored
[MPT-18516] Update workflow e2e test step to continue on failure to not block actions (#220)
This pull request makes a minor adjustment to the CI workflow configuration for end-to-end (E2E) tests. The main change is allowing E2E test steps to continue on error rather than fail the entire workflow. Most important changes: Workflow reliability improvements: * `.github/workflows/push-release-branch.yml` and `.github/workflows/release.yml`: Added `continue-on-error: true` to the "Run E2E test" job steps to prevent workflow failure if E2E tests fail. [[1]](diffhunk://#diff-a26565069232a0b016134d37fa85c531b26a0e2ec5ab6d87fb751c5a01081318R42) [[2]](diffhunk://#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34R38) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> Closes [MPT-18516](https://softwareone.atlassian.net/browse/MPT-18516) - Add `continue-on-error: true` to the "Run E2E test" step in `.github/workflows/push-release-branch.yml` so the workflow continues if E2E tests fail - Add `continue-on-error: true` to the "Run E2E test" step in `.github/workflows/release.yml` so the workflow continues if E2E tests fail <!-- end of auto-generated comment: release notes by coderabbit.ai --> [MPT-18516]: https://softwareone.atlassian.net/browse/MPT-18516?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
2 parents 797025b + f247617 commit 66287e3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/push-release-branch.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
run: make check-all
4040

4141
- name: "Run E2E test"
42+
continue-on-error: true
4243
run: make e2e args="--reportportal --rp-launch=$RP_LAUNCH --rp-api-key=$RP_API_KEY --rp-endpoint=$RP_ENDPOINT -o rp_launch_attributes=\"$RP_LAUNCH_ATTR\""
4344
env:
4445
RP_LAUNCH: mpt-api-client-e2e

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
MPT_API_TOKEN_VENDOR: ${{ secrets.MPT_API_TOKEN_VENDOR }}
3636

3737
- name: "Run E2E test"
38+
continue-on-error: true
3839
run: make e2e args="--reportportal --rp-launch=$RP_LAUNCH --rp-api-key=$RP_API_KEY --rp-endpoint=$RP_ENDPOINT -o rp_launch_attributes=\"$RP_LAUNCH_ATTR\""
3940
env:
4041
RP_LAUNCH: mpt-api-client-e2e

0 commit comments

Comments
 (0)