File tree Expand file tree Collapse file tree 4 files changed +622
-543
lines changed Expand file tree Collapse file tree 4 files changed +622
-543
lines changed Original file line number Diff line number Diff line change @@ -13,23 +13,25 @@ jobs:
13
13
- " 3.10"
14
14
- " 3.11"
15
15
- " 3.12"
16
+ - " 3.13"
16
17
steps :
17
18
- uses : actions/checkout@v3
18
19
- name : Set up Python ${{ matrix.python-version }}
19
20
uses : actions/setup-python@v3
20
21
with :
21
22
python-version : ${{ matrix.python-version }}
23
+ - name : Install pipx
24
+ run : python -m pip install pipx && python -m pipx ensurepath
22
25
- name : Install poetry
23
- run : |
24
- curl -sSL https://install.python-poetry.org | python -
26
+ run : pipx install poetry && poetry --version
25
27
- name : Install dependencies
26
28
run : |
27
- POETRY_VIRTUALENVS_CREATE=false ~/.local/bin/ poetry install
29
+ POETRY_VIRTUALENVS_CREATE=false poetry install
28
30
- name : Analysing the code with ruff
29
- run : ~/.local/bin/ poetry run poe ruff
31
+ run : poetry run poe ruff
30
32
- name : Static type-checking using mypy
31
- run : ~/.local/bin/ poetry run poe mypy
33
+ run : poetry run poe mypy
32
34
- name : Format checking using black
33
- run : ~/.local/bin/ poetry run poe black-check
35
+ run : poetry run poe black-check
34
36
- name : Format checking using isort
35
- run : ~/.local/bin/ poetry run poe isort-check
37
+ run : poetry run poe isort-check
Original file line number Diff line number Diff line change @@ -16,21 +16,24 @@ jobs:
16
16
- " 3.10"
17
17
- " 3.11"
18
18
- " 3.12"
19
+ - " 3.13"
19
20
steps :
20
21
- uses : actions/checkout@v3
21
22
- name : Set up Python ${{ matrix.python-version }}
22
23
uses : actions/setup-python@v3
23
24
with :
24
25
python-version : ${{ matrix.python-version }}
26
+ - name : Install pipx
27
+ run : python -m pip install pipx && python -m pipx ensurepath
25
28
- name : Install poetry
26
- run : |
27
- curl -sSL https://install.python-poetry.org | python -
29
+ run : pipx install poetry && poetry --version
28
30
- name : Install dependencies
29
- run : ~/.local/bin/poetry install
31
+ run : |
32
+ POETRY_VIRTUALENVS_CREATE=false poetry install
30
33
- name : pytest
31
- run : ~/.local/bin/ poetry run poe test --junitxml=pytest-results-${{ matrix.python-version }}.xml
34
+ run : poetry run poe test --junitxml=pytest-results-${{ matrix.python-version }}.xml
32
35
- name : coverage
33
- run : ~/.local/bin/ poetry run poe coverage
36
+ run : poetry run poe coverage
34
37
- name : Upload coverage to Codecov
35
38
uses : codecov/codecov-action@v3
36
39
with :
You can’t perform that action at this time.
0 commit comments