test: replace full path with github workspace (#11047)

This commit is contained in:
yatinappsmith 2022-02-09 18:00:56 +05:30 committed by GitHub
parent 8f383ca8ea
commit 4d6e389631
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -727,7 +727,7 @@ jobs:
- name: Incase of test failures copy them to a file
if: failure()
run: |
cd /home/runner/work/appsmith/appsmith/app/client/cypress/
cd ${{ github.workspace }}/app/client/cypress/
find screenshots -type d|grep spec |sed 's/screenshots/cypress\/integration/g' > ~/failed_spec/failed_spec-${{ matrix.job }}
# Upload failed test list using common path for all matrix job

View File

@ -606,7 +606,7 @@ jobs:
- name: Incase of test failures copy them to a file
if: failure()
run: |
cd /home/runner/work/appsmith/appsmith/app/client/cypress/
cd ${{ github.workspace }}/app/client/cypress/
find screenshots -type d|grep spec |sed 's/screenshots/cypress\/integration/g' > ~/failed_spec/failed_spec-${{ matrix.job }}
# Upload failed test list using common path for all matrix job

View File

@ -722,7 +722,7 @@ jobs:
- name: Incase of test failures copy them to a file
if: failure()
run: |
cd /home/runner/work/appsmith/appsmith/app/client/cypress/
cd ${{ github.workspace }}/app/client/cypress/
find screenshots -type d|grep spec |sed 's/screenshots/cypress\/integration/g' > ~/failed_spec/failed_spec-${{ matrix.job }}
# Upload failed test list using common path for all matrix job