8
8
9
9
env :
10
10
python-version : " 3.9"
11
- poetry-version : " 1.6 .1"
11
+ poetry-version : " 1.7 .1"
12
12
13
13
jobs :
14
14
test :
22
22
- name : Install Poetry
23
23
run : pipx install poetry==${{ env.poetry-version }}
24
24
- name : Install Python ${{ matrix.python-version }}
25
- uses : actions/setup-python@v4
25
+ uses : actions/setup-python@v5
26
26
with :
27
27
python-version : ${{ matrix.python-version }}
28
28
cache : poetry
31
31
- name : Test with nox
32
32
run : poetry run nox -s test-${{ matrix.python-version }}
33
33
- name : Store coverage
34
- uses : actions/upload-artifact@v3
34
+ uses : actions/upload-artifact@v4
35
35
with :
36
- name : coverage
36
+ name : coverage-${{ matrix.python-version }}-${{ matrix.os }}
37
37
path : .coverage.*
38
38
coverage :
39
39
needs : test
@@ -44,16 +44,17 @@ jobs:
44
44
- name : Install Poetry
45
45
run : pipx install poetry==${{ env.poetry-version }}
46
46
- name : Install Python
47
- uses : actions/setup-python@v4
47
+ uses : actions/setup-python@v5
48
48
with :
49
49
python-version : ${{ env.python-version }}
50
50
cache : poetry
51
51
- name : Install environment
52
52
run : poetry install
53
53
- name : Fetch coverage
54
- uses : actions/download-artifact@v3
54
+ uses : actions/download-artifact@v4
55
55
with :
56
- name : coverage
56
+ pattern : coverage-*
57
+ merge-multiple : true
57
58
- name : Combine coverage and generate report
58
59
run : poetry run nox -s coverage
59
60
- name : Upload coverage to Codecov
68
69
- name : Install Poetry
69
70
run : pipx install poetry==${{ env.poetry-version }}
70
71
- name : Install Python
71
- uses : actions/setup-python@v4
72
+ uses : actions/setup-python@v5
72
73
with :
73
74
python-version : ${{ env.python-version }}
74
75
cache : poetry
83
84
- name : Install Poetry
84
85
run : pipx install poetry==${{ env.poetry-version }}
85
86
- name : Install Python
86
- uses : actions/setup-python@v4
87
+ uses : actions/setup-python@v5
87
88
with :
88
89
python-version : ${{ env.python-version }}
89
90
- name : Validate Poetry configuration and lockfile freshness
0 commit comments