File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,14 @@ jobs:
24
24
25
25
- run : pip install smokeshow
26
26
27
- - uses : dawidd6/action- download-artifact@v3.1.4
27
+ - uses : actions/ download-artifact@v4
28
28
with :
29
- workflow : test.yml
30
- commit : ${{ github.event.workflow_run.head_sha }}
29
+ name : coverage-html
30
+ path : htmlcov
31
+ github-token : ${{ secrets.GITHUB_TOKEN }}
32
+ run-id : ${{ github.event.workflow_run.id }}
31
33
32
- - run : smokeshow upload coverage-html
34
+ - run : smokeshow upload htmlcov
33
35
env :
34
36
SMOKESHOW_GITHUB_STATUS_DESCRIPTION : Coverage {coverage-percentage}
35
37
SMOKESHOW_GITHUB_COVERAGE_THRESHOLD : 100
Original file line number Diff line number Diff line change 68
68
COVERAGE_FILE : coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }}
69
69
CONTEXT : ${{ runner.os }}-py${{ matrix.python-version }}
70
70
- name : Store coverage files
71
- uses : actions/upload-artifact@v3
71
+ uses : actions/upload-artifact@v4
72
72
with :
73
- name : coverage
73
+ name : coverage-${{ matrix.python-version }}
74
74
path : coverage
75
75
76
76
coverage-combine :
@@ -89,17 +89,18 @@ jobs:
89
89
# cache: "pip"
90
90
# cache-dependency-path: pyproject.toml
91
91
- name : Get coverage files
92
- uses : actions/download-artifact@v3
92
+ uses : actions/download-artifact@v4
93
93
with :
94
- name : coverage
94
+ pattern : coverage-*
95
95
path : coverage
96
+ merge-multiple : true
96
97
- run : pip install coverage[toml]
97
98
- run : ls -la coverage
98
99
- run : coverage combine coverage
99
100
- run : coverage report
100
101
- run : coverage html --show-contexts --title "Coverage for ${{ github.sha }}"
101
102
- name : Store coverage HTML
102
- uses : actions/upload-artifact@v3
103
+ uses : actions/upload-artifact@v4
103
104
with :
104
105
name : coverage-html
105
106
path : htmlcov
You can’t perform that action at this time.
0 commit comments