test: Fix to remove previous failing tests from Git Comment history (#21110)

## Description

- This PR updates the ci-test.yml file to empty the failed_spec_ci
folder which still holds the previoulsy (or attempt-1) failures & hence
prints the attempt-1 failures also in the attempt-2 git comment in PRs.

## Type of change
- ci-test.yml file update


## Checklist:
### QA activity:
- [X] Added Test Plan Approved label after reviewing all changes
This commit is contained in:
Aishwarya-U-R 2023-03-03 21:07:06 +05:30 committed by GitHub
parent 60626a14cf
commit e187b77a08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -401,6 +401,7 @@ jobs:
if: always()
run: |
mkdir -p ~/failed_spec_ci
rm -rf ~/failed_spec_ci/*
echo "empty" >> ~/failed_spec_ci/dummy-${{ matrix.job }}
# add list failed tests to a file