@@ -12,43 +12,64 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- uses : actions/checkout@v4
15
-
16
- - name : Install uv and install project
17
- uses : astral-sh/setup-uv@v5
15
+ - name : Set up python
16
+ id : setup-python
17
+ uses : actions/setup-python@v5
18
+ with :
19
+ python-version : " 3.12"
18
20
19
- - name : Install the project
20
- run : uv sync --all-extras --dev
21
+ - name : Install Poetry
22
+ uses : snok/install-poetry@v1
23
+ with :
24
+ version : 2.0.0
25
+
26
+ - name : Install dependencies
27
+ run : poetry install --with dev
21
28
22
29
- name : Check formatting
23
- run : uv run ruff format --check
30
+ run : poetry run ruff format --check
24
31
25
32
linting :
26
33
runs-on : ubuntu-latest
27
34
steps :
28
35
- uses : actions/checkout@v4
29
-
30
- - name : Install uv and install project
31
- uses : astral-sh/setup-uv@v5
36
+ - name : Set up python
37
+ id : setup-python
38
+ uses : actions/setup-python@v5
39
+ with :
40
+ python-version : " 3.12"
41
+
42
+ - name : Install Poetry
43
+ uses : snok/install-poetry@v1
44
+ with :
45
+ version : 2.0.0
32
46
33
- - name : Install the project
34
- run : uv sync --all-extras -- dev
47
+ - name : Install dependencies
48
+ run : poetry install --with dev
35
49
36
50
- name : Check code
37
- run : uv run ruff check
51
+ run : poetry run ruff check
38
52
39
53
testing :
40
54
runs-on : ubuntu-latest
41
55
steps :
42
56
- uses : actions/checkout@v4
43
-
44
- - name : Install uv and install project
45
- uses : astral-sh/setup-uv@v5
57
+ - name : Set up python
58
+ id : setup-python
59
+ uses : actions/setup-python@v5
60
+ with :
61
+ python-version : " 3.12"
62
+
63
+ - name : Install Poetry
64
+ uses : snok/install-poetry@v1
65
+ with :
66
+ version : 2.0.0
46
67
47
- - name : Install the project
48
- run : uv sync --all-extras -- dev
68
+ - name : Install dependencies
69
+ run : poetry install --with dev
49
70
50
71
- name : Run pytest
51
- run : uv run coverage run -m pytest tests/tests.py
72
+ run : poetry run coverage run -m pytest tests/tests.py
52
73
53
74
- name : Run Coverage
54
- run : uv run coverage report -m
75
+ run : poetry run coverage report -m
0 commit comments