ci: Fix for combined-failed-spec-ci cache not found issue (#21706)
## Description - Fix for combined-failed-spec-ci cache not found issue ## Type of change - YML file changes ## How Has This Been Tested? - Manual ## Checklist: ### QA activity: - [ ] Test plan has been approved by relevant developers - [ ] Test plan has been peer reviewed by QA - [ ] Cypress test cases have been added and approved by either SDET or manual QA - [ ] Organized project review call with relevant stakeholders after Round 1/2 of QA - [ ] Added Test Plan Approved label after reveiwing all Cypress test
This commit is contained in:
parent
40adb64470
commit
f17df15953
4
.github/workflows/ci-test.yml
vendored
4
.github/workflows/ci-test.yml
vendored
|
|
@ -89,11 +89,13 @@ jobs:
|
|||
# In case this is second attempt try restoring failed tests
|
||||
- name: Restore the previous failed combine result
|
||||
if: steps.run_result.outputs.run_result == 'failedtest'
|
||||
uses: actions/cache@v3
|
||||
uses: martijnhols/actions-cache/restore@v3
|
||||
with:
|
||||
path: |
|
||||
~/combined_failed_spec_ci
|
||||
key: ${{ github.run_id }}-"ci-test-result"
|
||||
restore-keys: |
|
||||
${{ github.run_id }}-${{ github.job }}
|
||||
|
||||
# failed_spec_env will contain list of all failed specs
|
||||
# We are using environment variable instead of regular to support multiline
|
||||
|
|
|
|||
|
|
@ -133,11 +133,13 @@ jobs:
|
|||
# Force save the CI failed spec list into a cache
|
||||
- name: Store the combined run result for CI
|
||||
if: needs.ci-test.result != 'success'
|
||||
uses: actions/cache@v3
|
||||
uses: martijnhols/actions-cache/save@v3
|
||||
with:
|
||||
path: |
|
||||
~/combined_failed_spec_ci
|
||||
key: ${{ github.run_id }}-"ci-test-result"
|
||||
restore-keys: |
|
||||
${{ github.run_id }}-${{ github.job }}
|
||||
|
||||
# Upload combined failed CI spec list to a file
|
||||
# This is done for debugging.
|
||||
|
|
|
|||
|
|
@ -114,11 +114,13 @@ jobs:
|
|||
# Force save the CI failed spec list into a cache
|
||||
- name: Store the combined run result for CI
|
||||
if: needs.ci-test.result != 'success'
|
||||
uses: actions/cache@v3
|
||||
uses: martijnhols/actions-cache/save@v3
|
||||
with:
|
||||
path: |
|
||||
~/combined_failed_spec_ci
|
||||
key: ${{ github.run_id }}-"ci-test-result"
|
||||
restore-keys: |
|
||||
${{ github.run_id }}-${{ github.job }}
|
||||
|
||||
# Upload combined failed CI spec list to a file
|
||||
# This is done for debugging.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user