Merge pull request #9865 from michaelkaye/michaelk/continue_if_trci_upload_fails

Do not fail cypress GHA workflow; if testrail upload fails on some files.
This commit is contained in:
Andy Balaam 2023-01-06 11:13:43 +00:00 committed by GitHub
commit 6cb6fa8ab5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -247,7 +247,8 @@ jobs:
--run-id $TESTRAIL_RUN_ID \ --run-id $TESTRAIL_RUN_ID \
--suite-id $TESTRAIL_SUITE_ID \ --suite-id $TESTRAIL_SUITE_ID \
--title "if you see this please check cypress build for run id not being provisioned" \ --title "if you see this please check cypress build for run id not being provisioned" \
-f $file -f $file || true
# We want to keep uploading what we can; but don't want the failures/red marks when it fails, so we add || true above.
done done
- name: Close test run - name: Close test run
id: testrailpost id: testrailpost