Skip to content

Commit e9f2812

Browse files
authored
CI fixes (#883)
* ci * wkcuber docker * quotes
1 parent 9b1748f commit e9f2812

File tree

4 files changed

+16
-14
lines changed

4 files changed

+16
-14
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
- name: Install dependencies (without docker)
8989
if: ${{ matrix.executors == 'multiprocessing' || matrix.executors == 'kubernetes' }}
9090
run: |
91-
pip install poetry
91+
pip install -r ../requirements.txt
9292
poetry install
9393
9494
- name: Check typing
@@ -154,7 +154,7 @@ jobs:
154154

155155
- name: Install dependencies
156156
run: |
157-
pip install poetry
157+
pip install -r ../requirements.txt
158158
poetry install --extras all
159159
160160
- name: Check formatting
@@ -198,13 +198,13 @@ jobs:
198198
steps:
199199
- uses: actions/checkout@v3
200200
- name: Set up Python ${{ matrix.python-version }}
201-
uses: actions/setup-python@v2
201+
uses: actions/setup-python@v4
202202
with:
203203
python-version: ${{ matrix.python-version }}
204204

205205
- name: Install dependencies
206206
run: |
207-
pip install poetry
207+
pip install -r ../requirements.txt
208208
poetry install
209209
210210
- name: Check formatting
@@ -245,14 +245,14 @@ jobs:
245245
steps:
246246
- uses: actions/checkout@v3
247247
- name: Set up Python ${{ matrix.python-version }}
248-
uses: actions/setup-python@v2
248+
uses: actions/setup-python@v4
249249
with:
250250
python-version: ${{ matrix.python-version }}
251251

252252
- name: Install dependencies
253253
shell: bash
254254
run: |
255-
pip install poetry
255+
pip install -r ../requirements.txt
256256
poetry install
257257
258258
- name: Run tests
@@ -278,13 +278,13 @@ jobs:
278278
steps:
279279
- uses: actions/checkout@v3
280280
- name: Set up Python ${{ matrix.python-version }}
281-
uses: actions/setup-python@v2
281+
uses: actions/setup-python@v4
282282
with:
283283
python-version: ${{ matrix.python-version }}
284284

285285
- name: Install dependencies
286286
run: |
287-
pip install poetry
287+
pip install -r ../requirements.txt
288288
poetry install
289289
290290
- name: Run tests
@@ -302,7 +302,7 @@ jobs:
302302
steps:
303303
- uses: actions/checkout@v3
304304
- name: Set up Python
305-
uses: actions/setup-python@v2
305+
uses: actions/setup-python@v4
306306
with:
307307
python-version: "3.10"
308308

.github/workflows/publish_docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Python 3.10
1818
uses: actions/setup-python@v1
1919
with:
20-
python-version: 3.10
20+
python-version: "3.10"
2121
architecture: 'x64'
2222

2323
- name: Install dependencies

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
- uses: actions/setup-python@v4
2222
with:
23-
python-version: "3.8"
23+
python-version: "3.10"
2424
architecture: 'x64'
2525

2626
- name: Setup git config

wkcuber/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
FROM python:3.8
1+
FROM python:3.10
22

33
RUN mkdir /app
44
WORKDIR /app
55

6+
COPY requirements.txt /
7+
8+
RUN pip install -r /requirements.txt
9+
610
COPY wkcuber/README.md /app
711
COPY wkcuber/poetry.lock /app
812
COPY wkcuber/pyproject.toml /app
913

10-
RUN pip install poetry
11-
1214
COPY wkcuber/wkcuber /app/wkcuber
1315
COPY wkcuber/tests /app/tests
1416

0 commit comments

Comments
 (0)