File tree Expand file tree Collapse file tree 1 file changed +4
-18
lines changed Expand file tree Collapse file tree 1 file changed +4
-18
lines changed Original file line number Diff line number Diff line change 2424# This workflow will build a Python project with Poetry and cache/restore any dependencies to improve the workflow execution time
2525# For more information see: https://docs.github.com/en/actions/use-cases-and-examples/building-and-testing/building-and-testing-python
2626
27- name : Python CI with Poetry
27+ name : Python Client CI
2828
2929on :
3030 push :
3131 branches : [ "main" ]
32- paths :
33- - ' client/python/**'
3432 pull_request :
3533 branches : [ "main" ]
36- paths :
37- - ' client/python/**'
3834
3935jobs :
4036 build :
@@ -53,24 +49,14 @@ jobs:
5349 with :
5450 python-version : ${{ matrix.python-version }}
5551
56- - name : Cache Poetry
57- id : cache-poetry
58- uses : actions/cache@v4
59- with :
60- path : ~/.cache/pypoetry
61- key : ${{ runner.os }}-poetry-${{ hashFiles('client/python/poetry.lock') }}
62- restore-keys : |
63- ${{ runner.os }}-poetry-
64-
6552 - name : Install Poetry
66- if : steps.cache-poetry.outputs.cache-hit != 'true'
6753 run : |
68- curl -sSL https://install.python-poetry.org | python3 - --version 1.8.5
69- export PATH="$HOME/.local/bin:$PATH"
54+ pip install --user --upgrade -r regtests/requirements.txt
7055
56+ # TODO: add cache for poetry dependencies once we have poetry.lock in the repo
7157 - name : Install dependencies
7258 working-directory : client/python
73- run : poetry install
59+ run : poetry install --all-extras
7460
7561 - name : Lint with flake8
7662 working-directory : client/python
You can’t perform that action at this time.
0 commit comments