You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29-27
Original file line number
Diff line number
Diff line change
@@ -1,50 +1,63 @@
1
1
# Use MATLAB with [Codecov](https://codecov.io)
2
2
3
-
This example shows how to run MATLAB® tests, produce a code coverage report, and upload the report to Codecov. The repository includes these files.
3
+
This example shows how to run MATLAB® tests, produce code coverage results, and upload the results to Codecov. The repository includes these files.
|`source/quadraticSolver.m`| A function that solves quadratic equations |
8
8
|`tests/SolverTest.m`| A class that tests the `quadraticSolver` function |
9
-
|`runMyTests.m`| A script that creates a test suite and a test runner that outputs a Cobertura code coverage report|
9
+
|`runMyTests.m`| A script that creates a test suite and a test runner that produces code coverage results in Cobertura XML format|
10
10
|`azure-pipelines.yml`| A configuration example for [Azure® DevOps](https://marketplace.visualstudio.com/items?itemName=MathWorks.matlab-azure-devops-extension)|
11
11
| `.circleci/config.yml` | A configuration example for [CircleCI®](https://circleci.com/orbs/registry/orb/mathworks/matlab)
12
12
| `.github/workflows/workflow.yml` | A configuration example for [GitHub® Actions](https://github.com/matlab-actions)
13
-
| `.travis.yml` | A configuration example for [Travis CI](https://docs.travis-ci.com/user/languages/matlab/)
14
13
15
-
## Produce and Publish Coverage Reports
14
+
## Produce and Publish Coverage Results
16
15
Each of these pipeline definitions does four things:
17
16
18
17
1) Install the latest MATLAB release on a Linux®-based build agent.
19
18
2) Run all MATLAB tests in the root of your repository, including its subfolders.
20
-
3) Produce a code coverage report in Cobertura XML format for the `source` folder.
21
-
4) Upload the produced artifact to Codecov.
19
+
3) Produce code coverage results in Cobertura XML format for the `source` folder.
0 commit comments