@@ -25,18 +25,30 @@ jobs:
2525 python-version : ${{ matrix.python-version }}
2626
2727 - name : Set up Poetry
28- uses : abatilo/actions-poetry@v4
29- with :
30- poetry-version : 1.8.4
28+ run : pipx install poetry==1.8.5 --python python${{ matrix.python-version }}
3129
3230 - name : Run Tests
3331 run : make run_tests
3432
3533 - name : Upload coverage to Coveralls
36- if : ${{ matrix.python-version }} == "3.12"
3734 uses : coverallsapp/github-action@v2
3835 with :
3936 github-token : ${{ secrets.GITHUB_TOKEN }}
37+ flag-name : run-${{ join(matrix.*, '-') }}
38+ parallel : true
39+
40+ finish_tests :
41+ needs : test
42+ name : Upload tests coveralls results
43+ if : ${{ always() }}
44+ runs-on : ubuntu-latest
45+ steps :
46+ - name : Coveralls Finished
47+ uses : coverallsapp/github-action@v2
48+ with :
49+ github-token : ${{ secrets.GITHUB_TOKEN }}
50+ parallel-finished : true
51+ carryforward : " run-ubuntu-latest-3.9,run-ubuntu-latest-3.10,run-ubuntu-latest-3.11,run-ubuntu-latest-3.12,run-ubuntu-latest-3.13"
4052
4153 release-please :
4254 needs : test
7688 fetch-depth : 0
7789
7890 - name : Set up Poetry
79- uses : abatilo/actions-poetry@v4
80- with :
81- poetry-version : 1.8.4
91+ run : pipx install poetry==1.8.5 --python python3.11
8292
8393 - name : Install dependencies
8494 run : poetry install
@@ -116,20 +126,7 @@ jobs:
116126 run : make rename_project
117127
118128 - name : Set up Poetry
119- uses : abatilo/actions-poetry@v4
120- with :
121- poetry-version : 1.8.4
122-
123- - name : Setup a local virtual environment (if no poetry.toml file)
124- run : |
125- poetry config virtualenvs.create true --local
126- poetry config virtualenvs.in-project true --local
127-
128- - uses : actions/cache@v4
129- name : Define a cache for the virtual environment based on the dependencies lock file
130- with :
131- path : ./.venv
132- key : venv-${{ hashFiles('poetry.lock') }}
129+ run : pipx install poetry==1.8.5 --python python3.11
133130
134131 - name : Install the project dependencies
135132 run : poetry install
0 commit comments