Skip to content
This repository was archived by the owner on Nov 10, 2024. It is now read-only.

Commit 85b54fb

Browse files
committed
Fix lock and workflows to make ci working properly
1 parent 1eca758 commit 85b54fb

4 files changed

Lines changed: 182 additions & 180 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
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

.github/workflows/pull-request.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ jobs:
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
@@ -28,8 +29,9 @@ jobs:
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

0 commit comments

Comments
 (0)