test: replace full path with github workspace (#11047)
This commit is contained in:
parent
8f383ca8ea
commit
4d6e389631
2
.github/workflows/TestReuseActions.yml
vendored
2
.github/workflows/TestReuseActions.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user