File tree 2 files changed +7
-27
lines changed
2 files changed +7
-27
lines changed Original file line number Diff line number Diff line change @@ -13,21 +13,11 @@ jobs:
13
13
with :
14
14
fetch-depth : 0
15
15
16
- - name : Set up Python
17
- uses : actions/ setup-python@v5
16
+ - name : Setup Python, Poetry and Dependencies
17
+ uses : packetcoders/action- setup-cache- python-poetry@main
18
18
with :
19
- python-version : ' 3.9'
20
-
21
- - uses : actions/cache@v4
22
- id : cache-python-env
23
- with :
24
- path : ${{ env.pythonLocation }}
25
- key : ${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}
26
-
27
- - name : Install dependencies
28
- run : |
29
- python -m pip install poetry
30
- poetry install --with dev,backends
19
+ python-version : ${{ matrix.python-version }}
20
+ install-args : --all-extras
31
21
32
22
- name : Generate test coverage
33
23
run : |
Original file line number Diff line number Diff line change @@ -16,21 +16,11 @@ jobs:
16
16
steps :
17
17
- uses : actions/checkout@v4
18
18
19
- - name : Set up Python
20
- uses : actions/ setup-python@v5
19
+ - name : Setup Python, Poetry and Dependencies
20
+ uses : packetcoders/action- setup-cache- python-poetry@main
21
21
with :
22
22
python-version : ${{ matrix.python-version }}
23
-
24
- - uses : actions/cache@v4
25
- id : cache-python-env
26
- with :
27
- path : ${{ env.pythonLocation }}
28
- key : ${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
29
-
30
- - name : Install dependencies
31
- run : |
32
- python -m pip install poetry
33
- poetry install --with dev,backends
23
+ install-args : --all-extras
34
24
35
25
- name : Test
36
26
env :
You can’t perform that action at this time.
0 commit comments