File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 3434 python_unit_tests :
3535 env :
3636 code-cov-py : " 3.11"
37+ code-cov-os : " ubuntu-latest"
3738 strategy :
3839 fail-fast : false
3940 matrix :
7172 run : python3 -m pytest --cov --cov-report=xml tests/unit
7273
7374 - name : Persist coverage data to be uploaded if all jobs are successful.
74- if : ${{matrix.python-version == env.code-cov-py }}
75- uses : actions/upload-artifact@v3
75+ if : ${{matrix.python-version == env.code-cov-py && matrix.os == env.code-cov-os }}
76+ uses : actions/upload-artifact@v4
7677 with :
7778 name : coverage_file
7879 path : ./coverage.xml
@@ -114,7 +115,7 @@ jobs:
114115 uses : actions/checkout@v3
115116
116117 - name : Get coverage files from previous job
117- uses : actions/download-artifact@v3
118+ uses : actions/download-artifact@v4
118119 with :
119120 name : coverage_file
120121
@@ -126,4 +127,4 @@ jobs:
126127 files : ./coverage.xml
127128 fail_ci_if_error : true
128129 verbose : true
129- token : ${{ secrets.CODECOV_TOKEN }}
130+ token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments