File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 71
71
sort -u)
72
72
echo $values_files
73
73
elif [ "${{ inputs.mode }}" = "CD" ]; then
74
- values_files=$(ls ${{ inputs.example }}/kubernetes/helm/*values.yaml)
74
+ values_files=$(ls ${{ inputs.example }}/kubernetes/helm/*values.yaml || true )
75
75
fi
76
76
value_files="["
77
77
for file in ${values_files}; do
97
97
98
98
helm-test :
99
99
needs : [get-test-case]
100
+ if : always() && ${{ needs.get-test-case.outputs.value_files.length > 0 }}
100
101
strategy :
101
102
matrix :
102
103
value_file : ${{ fromJSON(needs.get-test-case.outputs.value_files) }}
Original file line number Diff line number Diff line change 91
91
92
92
run-test :
93
93
needs : [get-test-case]
94
+ if : always() && ${{ needs.get-test-case.outputs.test_cases.length > 0 }}
94
95
strategy :
95
96
matrix :
96
97
test_case : ${{ fromJSON(needs.get-test-case.outputs.test_cases) }}
Original file line number Diff line number Diff line change @@ -32,10 +32,10 @@ jobs:
32
32
33
33
example-test :
34
34
needs : [get-test-matrix]
35
+ if : ${{ !github.event.pull_request.draft }} && ${{ needs.get-test-matrix.outputs.run_matrix.example.length > 0 }}
35
36
strategy :
36
37
matrix : ${{ fromJSON(needs.get-test-matrix.outputs.run_matrix) }}
37
38
fail-fast : false
38
- if : ${{ !github.event.pull_request.draft }}
39
39
uses : ./.github/workflows/_run-docker-compose.yml
40
40
with :
41
41
registry : " opea"
You can’t perform that action at this time.
0 commit comments