Skip to content

Commit b1c3591

Browse files
👷 Use packetcoders Poetry with cache.
1 parent 0b37f6e commit b1c3591

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

‎.github/workflows/test.yml‎

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
name: Test
2+
13
on:
24
push:
35
branches:
@@ -9,25 +11,15 @@ on:
911
jobs:
1012
test:
1113
runs-on: ubuntu-latest
12-
1314
steps:
1415
- name: Checkout repository
1516
uses: actions/checkout@v4
16-
17-
- name: Set up Python
18-
uses: actions/setup-python@v5
19-
with:
20-
python-version: '3.12'
21-
2217
- name: Install Poetry
23-
uses: abatilo/actions-poetry@v3
18+
uses: packetcoders/action-setup-cache-python-poetry@main
2419
with:
25-
poetry-version: '1.8.3'
26-
27-
- name: Install dependencies
28-
run: |
29-
poetry install
30-
20+
python-version: 3.12
21+
poetry-version: 1.8.3
22+
- name: Install project
23+
run: poetry install
3124
- name: Run pytest
32-
run: |
33-
poetry run pytest
25+
run: poetry run pytest

0 commit comments

Comments
 (0)