Skip to content

Commit 21dc7da

Browse files
authored
Merge pull request #341 from swimmwatch/dev
Update Poetry to 1.4.2
2 parents 7742e6f + 514af69 commit 21dc7da

File tree

5 files changed

+48
-127
lines changed

5 files changed

+48
-127
lines changed

.github/workflows/python-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
strategy:
1717
matrix:
1818
python-version: ["3.10"]
19-
poetry-version: ["1.3.2"]
19+
poetry-version: ["1.4.2"]
2020
steps:
2121
- name: Checkout
2222
uses: actions/checkout@v3
23-
- name: Install Poetry
24-
run: pipx install poetry
23+
- name: Install Poetry ${{matrix.poetry-version}}
24+
run: pipx install poetry==${{matrix.poetry-version}}
2525
- name: "Setup Python ${{matrix.python-version}}"
2626
uses: actions/setup-python@v4
2727
with:

.github/workflows/smoke-check.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Run smoke tests"
1+
name: Run smoke tests
22

33
on:
44
schedule:
@@ -10,19 +10,18 @@ jobs:
1010
strategy:
1111
matrix:
1212
python-version: ['3.10']
13+
poetry-version: ['1.4.2']
1314
steps:
14-
- name: "Checkout"
15+
- name: Checkout
1516
uses: actions/checkout@v3
16-
- name: "Setup Python"
17+
- name: Install Poetry ${{matrix.poetry-version}}
18+
run: pipx install poetry==${{matrix.poetry-version}}
19+
- name: Setup Python ${{matrix.python-version}}
1720
uses: actions/setup-python@v4
1821
with:
1922
python-version: ${{matrix.python-version}}
20-
- name: "Setup Poetry"
21-
uses: abatilo/actions-poetry@3.7.4
22-
with:
23-
poetry-version: '1.1.13'
24-
- name: "Setup Python packages"
23+
cache: poetry
24+
- name: Install dependencies
2525
run: poetry install
26-
- name: "Run Python smoke tests"
26+
- name: Run Python smoke tests
2727
run: poetry run pytest -m smoke
28-
# TODO: add testing job for web application

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ARG PYTHON_VERSION=3.10
22

33
FROM python:${PYTHON_VERSION}-slim-buster as build
44

5-
ENV POETRY_VERSION=1.3.2
5+
ENV POETRY_VERSION=1.4.2
66

77
ENV PIP_DISABLE_PIP_VERSION_CHECK=on
88
ENV PIP_NO_CACHE_DIR=off

0 commit comments

Comments
 (0)