File tree Expand file tree Collapse file tree 2 files changed +88
-0
lines changed
Expand file tree Collapse file tree 2 files changed +88
-0
lines changed Original file line number Diff line number Diff line change 5353 uv sync --all-extras
5454 uv run pytest
5555
56+ typecheck-uipath-langchain :
57+ runs-on : ubuntu-latest
58+
59+ permissions :
60+ contents : read
61+
62+ # Only run if PR has the test:uipath-langchain label
63+ if : contains(github.event.pull_request.labels.*.name, 'test:uipath-langchain')
64+
65+ steps :
66+ - name : Checkout uipath-runtime-python
67+ uses : actions/checkout@v4
68+ with :
69+ path : ' uipath-runtime-python'
70+
71+ - name : Setup uv
72+ uses : astral-sh/setup-uv@v5
73+
74+ - name : Setup Python
75+ uses : actions/setup-python@v5
76+ with :
77+ python-version : ' 3.12'
78+
79+ - name : Build uipath-runtime package
80+ working-directory : uipath-runtime-python
81+ run : uv build
82+
83+ - name : Checkout uipath-langchain-python
84+ uses : actions/checkout@v4
85+ with :
86+ repository : ' UiPath/uipath-langchain-python'
87+ path : ' uipath-langchain-python'
88+
89+ - name : Update uipath-runtime version
90+ shell : bash
91+ working-directory : uipath-langchain-python
92+ run : uv add ../uipath-runtime-python/dist/*.whl --dev
93+
94+ - name : Run typecheck
95+ working-directory : uipath-langchain-python
96+ run : |
97+ uv sync --all-extras
98+ uv run mypy --config-file pyproject.toml .
99+
56100 discover-testcases :
57101 runs-on : ubuntu-latest
58102 permissions :
Original file line number Diff line number Diff line change 5353 uv sync --all-extras
5454 uv run pytest
5555
56+ typecheck-uipath :
57+ runs-on : ubuntu-latest
58+
59+ permissions :
60+ contents : read
61+
62+ # Only run if PR has the test:uipath label
63+ if : contains(github.event.pull_request.labels.*.name, 'test:uipath')
64+
65+ steps :
66+ - name : Checkout uipath-runtime-python
67+ uses : actions/checkout@v4
68+ with :
69+ path : ' uipath-runtime-python'
70+
71+ - name : Setup uv
72+ uses : astral-sh/setup-uv@v5
73+
74+ - name : Setup Python
75+ uses : actions/setup-python@v5
76+ with :
77+ python-version : ' 3.12'
78+
79+ - name : Build uipath-runtime package
80+ working-directory : uipath-runtime-python
81+ run : uv build
82+
83+ - name : Checkout uipath-python
84+ uses : actions/checkout@v4
85+ with :
86+ repository : ' UiPath/uipath-python'
87+ path : ' uipath-python'
88+
89+ - name : Update uipath-runtime version
90+ shell : bash
91+ working-directory : uipath-python
92+ run : uv add ../uipath-runtime-python/dist/*.whl --dev
93+
94+ - name : Run typecheck
95+ working-directory : uipath-python
96+ run : |
97+ uv sync --all-extras
98+ uv run mypy --config-file pyproject.toml .
99+
56100 discover-testcases :
57101 runs-on : ubuntu-latest
58102 permissions :
You can’t perform that action at this time.
0 commit comments