File tree Expand file tree Collapse file tree 2 files changed +44
-1
lines changed
Expand file tree Collapse file tree 2 files changed +44
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Auto generate Client Code
2+
3+ on :
4+ push :
5+ branches : [main]
6+
7+ env :
8+ POETRY_VERSION : " 1.8.4"
9+
10+ jobs :
11+ generate-client :
12+ runs-on : ubuntu-latest
13+ permissions :
14+ contents : write
15+ pull-requests : write
16+
17+ steps :
18+ - name : Checkout code
19+ uses : actions/checkout@v4
20+
21+ - name : Set up Python + Poetry ${{ env.POETRY_VERSION }}
22+ uses : " ./.github/actions/poetry_setup"
23+ with :
24+ python-version : " 3.10"
25+ poetry-version : ${{ env.POETRY_VERSION }}
26+ cache-key : client-generation
27+
28+ - name : Install infinity
29+ run : |
30+ pip install libs/infinity_emb[all]
31+
32+ - name : Generate Client
33+ working-directory : libs/client_infinity
34+ run : |
35+ ./run_generate_with_hook.sh
36+
37+ - name : Test Generated Client
38+ working-directory : libs/client_infinity
39+ run : |
40+ ./run_tests_with_hook.sh
41+
42+ - name : Open a PR
43+ uses : peter-evans/create-pull-request@v7
Original file line number Diff line number Diff line change 5858 modal-deploy :
5959 needs : publish-to-pypi
6060 uses : ./.github/workflows/release_modal_com.yaml
61- secrets : inherit
61+ secrets : inherit
You can’t perform that action at this time.
0 commit comments