File tree Expand file tree Collapse file tree
packages/github-action/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ runs:
146146 if : always() && inputs.uploadVisualTestArtifacts == 'true'
147147 uses : actions/upload-artifact@v4
148148 with :
149- name : visual-test-diffs-${{ inputs.runner }}
149+ name : visual-test-diffs-android
150150 path : |
151151 ${{ inputs.projectRoot }}/**/__image_snapshots__/**/*-diff.png
152152 ${{ inputs.projectRoot }}/**/__image_snapshots__/**/*-actual.png
@@ -155,6 +155,6 @@ runs:
155155 if : always()
156156 uses : actions/upload-artifact@v4
157157 with :
158- name : harness-crash-reports-${{ inputs.runner }}
158+ name : harness-crash-reports-android
159159 path : ${{ inputs.projectRoot }}/.harness/crash-reports/**/*
160160 if-no-files-found : ignore
Original file line number Diff line number Diff line change 7373 if : always() && inputs.uploadVisualTestArtifacts == 'true'
7474 uses : actions/upload-artifact@v4
7575 with :
76- name : visual-test-diffs-${{ inputs.runner }}
76+ name : visual-test-diffs-ios
7777 path : |
7878 ${{ inputs.projectRoot }}/**/__image_snapshots__/**/*-diff.png
7979 ${{ inputs.projectRoot }}/**/__image_snapshots__/**/*-actual.png
8282 if : always()
8383 uses : actions/upload-artifact@v4
8484 with :
85- name : harness-crash-reports-${{ inputs.runner }}
85+ name : harness-crash-reports-ios
8686 path : ${{ inputs.projectRoot }}/.harness/crash-reports/**/*
8787 if-no-files-found : ignore
Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ inputs:
1414 required : false
1515 type : boolean
1616 default : ' true'
17+ harnessArgs :
18+ description : Additional arguments to pass to the Harness CLI
19+ required : false
20+ type : string
21+ default : ' '
1722runs :
1823 using : ' composite'
1924 steps :
@@ -51,12 +56,12 @@ runs:
5156 - name : Run E2E tests
5257 shell : bash
5358 working-directory : ${{ inputs.projectRoot }}
54- run : ${{ steps.detect-pm.outputs.runner }}react-native-harness --harnessRunner ${{ inputs.runner }}
59+ run : ${{ steps.detect-pm.outputs.runner }}react-native-harness --harnessRunner ${{ inputs.runner }} ${{ inputs.harnessArgs }}
5560 - name : Upload visual test artifacts
5661 if : always() && inputs.uploadVisualTestArtifacts == 'true'
5762 uses : actions/upload-artifact@v4
5863 with :
59- name : visual-test-diffs-${{ inputs.runner }}
64+ name : visual-test-diffs-chromium
6065 path : |
6166 ${{ inputs.projectRoot }}/**/__image_snapshots__/**/*-diff.png
6267 ${{ inputs.projectRoot }}/**/__image_snapshots__/**/*-actual.png
6570 if : always()
6671 uses : actions/upload-artifact@v4
6772 with :
68- name : harness-crash-reports-${{ inputs.runner }}
73+ name : harness-crash-reports-web
6974 path : ${{ inputs.projectRoot }}/.harness/crash-reports/**/*
7075 if-no-files-found : ignore
Original file line number Diff line number Diff line change @@ -17,6 +17,11 @@ inputs:
1717 required : false
1818 type : boolean
1919 default : ' true'
20+ harnessArgs :
21+ description : Additional arguments to pass to the Harness CLI
22+ required : false
23+ type : string
24+ default : ' '
2025runs :
2126 using : ' composite'
2227 steps :
@@ -136,7 +141,7 @@ runs:
136141 script : |
137142 echo $(pwd)
138143 adb install -r ${{ inputs.app }}
139- ${{ steps.detect-pm.outputs.runner }}react-native-harness --harnessRunner ${{ inputs.runner }}
144+ ${{ steps.detect-pm.outputs.runner }}react-native-harness --harnessRunner ${{ inputs.runner }} ${{ inputs.harnessArgs }}
140145 - name : Upload visual test artifacts
141146 if : always() && inputs.uploadVisualTestArtifacts == 'true'
142147 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -17,6 +17,11 @@ inputs:
1717 required : false
1818 type : boolean
1919 default : ' true'
20+ harnessArgs :
21+ description : Additional arguments to pass to the Harness CLI
22+ required : false
23+ type : string
24+ default : ' '
2025runs :
2126 using : ' composite'
2227 steps :
6368 - name : Run E2E tests
6469 shell : bash
6570 working-directory : ${{ inputs.projectRoot }}
66- run : ${{ steps.detect-pm.outputs.runner }}react-native-harness --harnessRunner ${{ inputs.runner }}
71+ run : ${{ steps.detect-pm.outputs.runner }}react-native-harness --harnessRunner ${{ inputs.runner }} ${{ inputs.harnessArgs }}
6772 - name : Upload visual test artifacts
6873 if : always() && inputs.uploadVisualTestArtifacts == 'true'
6974 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ inputs:
1414 required : false
1515 type : boolean
1616 default : ' true'
17+ harnessArgs :
18+ description : Additional arguments to pass to the Harness CLI
19+ required : false
20+ type : string
21+ default : ' '
1722runs :
1823 using : ' composite'
1924 steps :
5156 - name : Run E2E tests
5257 shell : bash
5358 working-directory : ${{ inputs.projectRoot }}
54- run : ${{ steps.detect-pm.outputs.runner }}react-native-harness --harnessRunner ${{ inputs.runner }}
59+ run : ${{ steps.detect-pm.outputs.runner }}react-native-harness --harnessRunner ${{ inputs.runner }} ${{ inputs.harnessArgs }}
5560 - name : Upload visual test artifacts
5661 if : always() && inputs.uploadVisualTestArtifacts == 'true'
5762 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments