File tree Expand file tree Collapse file tree 2 files changed +7
-25
lines changed
Expand file tree Collapse file tree 2 files changed +7
-25
lines changed Original file line number Diff line number Diff line change 1313 description : ' Reflex dep (raw pip spec)'
1414
1515jobs :
16- list-examples :
17- runs-on : ubuntu-latest
18- outputs :
19- examples : ${{ steps.generate-matrix.outputs.examples }}
20- steps :
21- - uses : actions/checkout@v4
22- - name : Generate Matrix
23- id : generate-matrix
24- run : |
25- EXAMPLES="$(find . -not -name '.*' -maxdepth 1 -type d | cut -f2 -d/ | sort | grep -vw chakra_apps | jq -R | jq -s -c)"
26- echo $EXAMPLES
27- echo "examples=$EXAMPLES" >> $GITHUB_OUTPUT
28-
16+ list-templates :
17+ uses : ./.github/workflows/list-templates.yml
18+
2919 check-export :
30- needs : [list-examples ]
20+ needs : [list-templates ]
3121 strategy :
3222 matrix :
33- example : ${{ fromJSON(needs.list-examples .outputs.examples ) }}
23+ folder : ${{ fromJSON(needs.list-templates .outputs.templates ) }}
3424 fail-fast : false
3525 runs-on : ubuntu-latest
3626 steps :
4232 python-version : 3.9
4333 - id : export-check
4434 run : |
45- f=${{ matrix.example }}
35+ f=${{ matrix.folder }}
4636 if [[ ! -d $f ]]; then
4737 echo "$f is not a directory!"
4838 exit 1
8070
8171 - name : Check for DeprecationWarning in logs
8272 run : |
83- cd ${{ matrix.example }}
73+ cd ${{ matrix.folder }}
8474 dep_lines=$(grep -i "DeprecationWarning:" export_logs.txt || true)
8575 if [ -n "$dep_lines" ]; then
8676 echo "Found Deprecation warning:"
Original file line number Diff line number Diff line change 1313 list-templates :
1414 uses : ./.github/workflows/list-templates.yml
1515
16- debug-output :
17- needs : list-templates
18- runs-on : ubuntu-latest
19- steps :
20- - name : Debug output
21- run : |
22- echo "Templates: ${{ needs.list-templates.outputs.templates }}"
23-
2416 deploy :
2517 needs : list-templates
2618 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments