File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5555 runs-on : ubuntu-latest
5656 environment : azure-prod
5757 needs : discover-tests
58- if : ${{ fromJson( needs.discover-tests.outputs.e2e-test-files)[0] != null }}
58+ if : ${{ needs.discover-tests.outputs.e2e-test-files != '[]' }}
5959 strategy :
6060 matrix :
6161 test_file : ${{ fromJson(needs.discover-tests.outputs.e2e-test-files) }}
@@ -154,7 +154,7 @@ jobs:
154154 unit-tests :
155155 runs-on : ubuntu-latest
156156 needs : discover-tests
157- if : ${{ fromJson( needs.discover-tests.outputs.unit-test-files)[0] != null }}
157+ if : ${{ needs.discover-tests.outputs.unit-test-files != '[]' }}
158158 strategy :
159159 matrix :
160160 test_file : ${{ fromJson(needs.discover-tests.outputs.unit-test-files) }}
@@ -235,7 +235,7 @@ jobs:
235235 common-tests :
236236 runs-on : ubuntu-latest
237237 needs : discover-tests
238- if : ${{ fromJson( needs.discover-tests.outputs.common-test-files)[0] != null }}
238+ if : ${{ needs.discover-tests.outputs.common-test-files != '[]' }}
239239 strategy :
240240 matrix :
241241 test_file : ${{ fromJson(needs.discover-tests.outputs.common-test-files) }}
You can’t perform that action at this time.
0 commit comments