Skip to content

Commit 296968c

Browse files
committed
remove caching poetry step for now
1 parent 94ad410 commit 296968c

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

.github/workflows/python-client.yml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,13 @@
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

2929
on:
3030
push:
3131
branches: [ "main" ]
32-
paths:
33-
- 'client/python/**'
3432
pull_request:
3533
branches: [ "main" ]
36-
paths:
37-
- 'client/python/**'
3834

3935
jobs:
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

0 commit comments

Comments
 (0)