File tree Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 29
29
30
30
runs-on : ubuntu-latest
31
31
steps :
32
- - uses : actions/checkout@v2
32
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
33
33
- name : Bandit Scan
34
34
uses : shundor/python-bandit-scan@9cc5aa4a006482b8a7f91134412df6772dbda22c
35
35
with : # optional arguments
Original file line number Diff line number Diff line change @@ -62,18 +62,25 @@ jobs:
62
62
check_name : pytest results
63
63
junit_files : report.xml
64
64
65
- - name : Upload pytest coverage report to artifact
66
- uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
65
+ - name : Upload test results to codecov
66
+ if : ${{ !cancelled() }}
67
+ uses : codecov/test-results-action@9739113ad922ea0a9abb4b2c0f8bf6a4aa8ef820
67
68
with :
68
- name : pytest-cov-report
69
- path : htmlcov/
69
+ token : ${{ secrets.CODECOV_TOKEN }}
70
+ files : report.xml
70
71
71
72
- name : Upload pytest report to artifact
72
73
uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
73
74
with :
74
75
name : pytest-report
75
76
path : report.html
76
77
78
+ - name : Upload pytest coverage report to artifact
79
+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
80
+ with :
81
+ name : pytest-cov-report
82
+ path : htmlcov/
83
+
77
84
- name : Upload coverage to codecov
78
85
uses : codecov/codecov-action@7f8b4b4bde536c465e797be725718b88c5d95e0e
79
86
with :
Original file line number Diff line number Diff line change 56
56
password : ${{ secrets.PYPI_API_TOKEN }}
57
57
58
58
- name : attest build provenance
59
- uses : actions/attest-build-provenance@v2
59
+ uses : actions/attest-build-provenance@7668571508540a607bdfd90a87a560489fe372eb
60
60
with :
61
61
subject-path : |
62
62
dist/${{ steps.build.outputs.package_tar }}
You can’t perform that action at this time.
0 commit comments