File tree Expand file tree Collapse file tree 1 file changed +4
-26
lines changed Expand file tree Collapse file tree 1 file changed +4
-26
lines changed Original file line number Diff line number Diff line change @@ -96,36 +96,14 @@ jobs:
9696 path : ${{ steps.pip-cache.outputs.path }}
9797 dest : ${{ steps.pip-cache.outputs.dest }}
9898
99- prepare :
100- name : Prepare
101- runs-on : Linux
102-
103- outputs :
104- matrix : ${{ steps.matrix.outputs.matrix }}
105-
106- steps :
107- - name : Inputs
108- run : |
109- cat <<EOF
110- ${{ toJSON(inputs) }}
111- EOF
112-
113- - name : Matrix
114- id : matrix
115- run : |
116- if [[ -n "${{ inputs.runner_label }}" ]]; then
117- matrix='{"python": ["3.9"]}'
118- else
119- matrix='{"python": ["3.9"], "driver": ["rolling", "lts"]}'
120- fi
121- echo "matrix=$matrix" | tee -a $GITHUB_OUTPUT
122-
12399 integration-tests :
124100 name : Integration tests matrix
125- needs : prepare
126101
127102 strategy :
128- matrix : ${{ fromJson(needs.prepare.outputs.matrix) }}
103+ matrix :
104+ python :
105+ - " 3.9"
106+ driver : ${{ fromJson((inputs.runner_label || '') == '' && '["rolling", "lts"]' || '["rolling"]') }}
129107
130108 uses : ./.github/workflows/build-test-reusable.yml
131109 with :
You can’t perform that action at this time.
0 commit comments