Skip to content

Commit 8f03a6a

Browse files
committed
Use poetry in the release action.
1 parent 384a2eb commit 8f03a6a

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,17 @@ jobs:
1111

1212
steps:
1313
- uses: actions/checkout@v4
14-
- name: Set up Python
15-
uses: actions/setup-python@v5
14+
- uses: actions/setup-python@v5
1615
with:
17-
python-version: "3.12"
18-
- name: Install the package
19-
run: python -m pip install --editable .[test]
16+
python-version: ${{ matrix.python-version }}
17+
- name: Run image
18+
uses: abatilo/actions-poetry@v3
19+
with:
20+
poetry-version: ${{ matrix.poetry-version }}
21+
- name: Install dependencies
22+
run: poetry install --with dev
2023
- name: Run tests
21-
run: pytest
24+
run: poetry run pytest
2225
- name: Install build libraries
2326
run: python3 -m pip install build
2427
- name: Build the package

0 commit comments

Comments
 (0)