File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed
actions/generate-code-coverage Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 1- # Copyright 2020-2023 The MathWorks, Inc.
1+ # Copyright 2020-2024 The MathWorks, Inc.
22
33# Composite Action to generate Code Coverage XML and Upload it
44name : Generate Code Coverage XML
5+
6+ inputs :
7+ codecov-token :
8+ description : ' codecov.io token'
9+ required : true
10+
511runs :
612 using : " composite"
713 steps :
@@ -27,13 +33,14 @@ runs:
2733 shell : bash
2834
2935 - name : Upload python coverage report to Codecov
30- uses : codecov/codecov-action@v3
36+ uses : codecov/codecov-action@v4
3137 with :
3238 directory : ./
3339 name : Python-codecov
3440 files : ./coverage.xml
3541 fail_ci_if_error : true
3642 verbose : true
43+ token : ${{ inputs.codecov-token }}
3744
3845 - name : Install Node Dependencies
3946 run : npm --prefix gui install gui
4451 shell : bash
4552
4653 - name : Upload Javscript coverage report to Codecov
47- uses : codecov/codecov-action@v3
54+ uses : codecov/codecov-action@v4
4855 with :
4956 directory : ./gui/coverage/
5057 fail_ci_if_error : true
5158 verbose : true
59+ token : ${{ inputs.codecov-token }}
Original file line number Diff line number Diff line change 1- # Copyright 2020-2024 The MathWorks, Inc
1+ # Copyright 2020-2024 The MathWorks, Inc.
22
33# Workflow to test MATLAB-Proxy while releasing to PyPi
44name : Release to PyPI
2323
2424 - name : Generate Code Coverage XML
2525 uses : ./.github/actions/generate-code-coverage
26+ with :
27+ codecov-token : ${{ secrets.CODECOV_TOKEN }}
2628
2729
2830 build_and_publish_pypi :
You can’t perform that action at this time.
0 commit comments