@@ -2,10 +2,7 @@ name: "[Py3.8][COV REPORT] tests/unitary/**"
22
33on :
44 workflow_dispatch :
5- push :
65 pull_request :
7- types : [opened, reopened]
8- branches : [ "main" ]
96
107# Cancel in progress workflows on pull_requests.
118# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
@@ -44,12 +41,12 @@ jobs:
4441 test-path : " tests/unitary/with_extras/model"
4542
4643 steps :
47- - uses : actions/checkout@v3
44+ - uses : actions/checkout@v4
4845
4946 - uses : ./.github/workflows/create-more-space
5047 name : " Create more disk space"
5148
52- - uses : actions/setup-python@v4
49+ - uses : actions/setup-python@v5
5350 with :
5451 python-version : " 3.8"
5552 cache : " pip"
10198 ${{ matrix.test-path }} ${{ matrix.ignore-path }}
10299
103100 - name : " Save coverage files"
104- uses : actions/upload-artifact@v3
101+ uses : actions/upload-artifact@v4
105102 with :
106103 name : cov-reports-${{ matrix.name }}
107104 path : |
@@ -120,11 +117,11 @@ jobs:
120117
121118 steps :
122119 - name : " Checkout current branch"
123- uses : actions/checkout@v3
120+ uses : actions/checkout@v4
124121 with :
125122 fetch-depth : 0
126123 - name : " Download coverage files"
127- uses : actions/download-artifact@v3
124+ uses : actions/download-artifact@v4
128125 - name : " Calculate overall coverage"
129126 run : |
130127 set -x # print commands that are executed
@@ -182,7 +179,7 @@ jobs:
182179 fi
183180
184181 - name : " Add comment with cov diff to PR"
185- uses : actions/github-script@v6
182+ uses : actions/github-script@v7
186183 if : github.event_name == 'pull_request'
187184 with :
188185 github-token : ${{ github.token }}
@@ -199,7 +196,7 @@ jobs:
199196 --compare-branch=origin/${{ env.COMPARE_BRANCH }} \
200197 --html-report=cov-diff.html
201198 - name : " Save coverage difference report"
202- uses : actions/upload-artifact@v3
199+ uses : actions/upload-artifact@v4
203200 with :
204201 name : cov-html-reports
205202 path : |
0 commit comments