File tree Expand file tree Collapse file tree 3 files changed +14
-12
lines changed Expand file tree Collapse file tree 3 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 1- # Copyright (c) 2020-2022 The MathWorks, Inc
1+ # Copyright 2020-2023 The MathWorks, Inc.
22
33# Composite Action to Build and Publish in PyPi
44name : Build and Publish in PyPi
@@ -16,12 +16,12 @@ runs:
1616
1717 - name : Install Python build dependencies
1818 run : |
19- python -m pip install --upgrade pip
20- python -m pip install wheel
19+ python3 -m pip install --upgrade pip
20+ python3 -m pip install wheel
2121 shell : bash
2222
2323 - name : Build Source and Binary wheel distributions
24- run : python setup.py bdist_wheel sdist
24+ run : python3 setup.py bdist_wheel sdist
2525 shell : bash
2626
2727 - name : Publish to PyPI.
Original file line number Diff line number Diff line change 1- # Copyright (c) 2020-2022 The MathWorks, Inc
1+ # Copyright 2020-2023 The MathWorks, Inc.
22
33# Composite Action to generate Code Coverage XML and Upload it
44name : Generate Code Coverage XML
@@ -17,17 +17,17 @@ runs:
1717
1818 - name : Install Python build dependencies
1919 run : |
20- python -m pip install --upgrade pip
21- python -m pip install wheel
22- pip install .[dev]
20+ python3 -m pip install --upgrade pip
21+ python3 -m pip install wheel
22+ python3 -m pip install .[dev]
2323 shell : bash
2424
2525 - name : Generate Code Coverage report for Python code
26- run : pytest --cov=./ --cov-report=xml
26+ run : python3 -m pytest --cov=./ --cov-report=xml tests/unit
2727 shell : bash
2828
2929 - name : Upload python coverage report to Codecov
30- uses : codecov/codecov-action@v2
30+ uses : codecov/codecov-action@v3
3131 with :
3232 directory : ./
3333 name : Python-codecov
4444 shell : bash
4545
4646 - name : Upload Javscript coverage report to Codecov
47- uses : codecov/codecov-action@v2
47+ uses : codecov/codecov-action@v3
4848 with :
4949 directory : ./gui/coverage/
5050 fail_ci_if_error : true
Original file line number Diff line number Diff line change 88htmlcov /
99.coverage
1010* .key
11- * .pem
11+ * .pem
12+ .python-version
13+ coverage.xml
You can’t perform that action at this time.
0 commit comments