This repository was archived by the owner on Nov 10, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,17 +21,20 @@ jobs:
2121 uses : actions/setup-python@v1
2222 with :
2323 python-version : ${{ matrix.python-version }}
24+
25+ - name : Init python poetry action
26+ uses : abatilo/actions-poetry@v2.1.0
2427 - uses : actions/cache@v1
2528 id : cache-deps
2629 with :
2730 path : ~/.cache/pip
2831 key : ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('**/requirements.txt') }}
2932 restore-keys : |
3033 ${{ runner.os }}-pip-
34+
3135 - name : Install dependencies
32- run : |
33- python -m pip install --upgrade pip
34- pip install -r requirements.txt
36+ run : poetry install -E session
37+
3538 - uses : actions/cache@v1
3639 with :
3740 path : .mypy_cache
Original file line number Diff line number Diff line change 2323 uses : abatilo/actions-poetry@v2.1.0
2424
2525 - name : Install dependencies
26- run : poetry install
26+ run : poetry install -E session
2727
2828 - name : Check that formatting, linting, and tests pass
2929 run : poetry run make ci
Original file line number Diff line number Diff line change 1919 uses : actions/setup-python@v1
2020 with :
2121 python-version : ${{ matrix.python-version }}
22- - name : Python Poetry Action
22+
23+ - name : Init Python Poetry Action
2324 uses : abatilo/actions-poetry@v2.1.0
2425 - uses : actions/cache@v1
2526 id : cache-deps
2829 key : ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('**/requirements.txt') }}
2930 restore-keys : |
3031 ${{ runner.os }}-pip-
32+
3133 - name : Install dependencies
32- run : poetry install
34+ run : poetry install -E session
3335 - uses : actions/cache@v1
3436 with :
3537 path : .mypy_cache
You can’t perform that action at this time.
0 commit comments