@@ -25,18 +25,30 @@ jobs:
25
25
python-version : ${{ matrix.python-version }}
26
26
27
27
- 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 }}
31
29
32
30
- name : Run Tests
33
31
run : make run_tests
34
32
35
33
- name : Upload coverage to Coveralls
36
- if : ${{ matrix.python-version }} == "3.12"
37
34
uses : coverallsapp/github-action@v2
38
35
with :
39
36
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"
40
52
41
53
release-please :
42
54
needs : test
76
88
fetch-depth : 0
77
89
78
90
- 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
82
92
83
93
- name : Install dependencies
84
94
run : poetry install
@@ -116,20 +126,7 @@ jobs:
116
126
run : make rename_project
117
127
118
128
- 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
133
130
134
131
- name : Install the project dependencies
135
132
run : poetry install
0 commit comments