File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Check Export
2+
3+ env :
4+ TELEMETRY_ENABLED : false
5+ on :
6+ push :
7+ branches : [main]
8+ pull_request :
9+ branches : [main]
10+
11+ jobs :
12+ find-folders :
13+ runs-on : ubuntu-latest
14+ outputs :
15+ folders : ${{ steps.find-rxconfig.outputs.folders }}
16+ steps :
17+ - uses : actions/checkout@v3
18+
19+ - name : Find folders with rxconfig.py
20+ id : find-rxconfig
21+ run : |
22+ FOLDERS=$(find . -maxdepth 2 -type f -name "rxconfig.py" | xargs dirname | sed 's|^\./||' | jq -R -s -c 'split("\n")[:-1]')
23+ echo "folders=$FOLDERS" >> $GITHUB_OUTPUT
24+ echo "Found folders: $FOLDERS"
25+
26+ check-export :
27+ needs : find-folders
28+ strategy :
29+ matrix :
30+ folder : ${{ fromJson(needs.find-folders.outputs.folders) }}
31+ runs-on : ubuntu-latest
32+ steps :
33+ - uses : actions/checkout@v4
34+ - uses : astral-sh/setup-uv@v6
35+ with :
36+ python-version : 3.12
37+ activate-environment : true
38+ - name : Install dependencies
39+ working-directory : ${{ matrix.folder }}
40+ run : uv pip install -r requirements.txt
41+ - name : Run export
42+ working-directory : ${{ matrix.folder }}
43+ run : uv run reflex export
You can’t perform that action at this time.
0 commit comments