Skip to content

Commit 8a65172

Browse files
authored
Merge pull request #26 from matlab-deep-learning/activate-code-coverage
Activate code coverage
2 parents 3d35464 + 55bd605 commit 8a65172

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,25 @@
11
name: Run MATLAB Tests on GitHub-Hosted Runner
22
on: [push]
33
jobs:
4-
my-job:
4+
test:
55
name: Run MATLAB Tests and Generate Artifacts
66
runs-on: ubuntu-latest
77
steps:
88
- name: Check out repository
9-
uses: actions/checkout@v3
9+
uses: actions/checkout@v4
1010
- name: Set up MATLAB
11-
uses: matlab-actions/setup-matlab@v1
11+
uses: matlab-actions/setup-matlab@v2
12+
with:
13+
products: Text_Analytics_Toolbox
14+
cache: true
1215
- name: Run tests and generate artifacts
13-
uses: matlab-actions/run-tests@v1
16+
uses: matlab-actions/run-tests@v2
1417
with:
1518
test-results-junit: test-results/results.xml
1619
code-coverage-cobertura: code-coverage/coverage.xml
1720
source-folder: .
21+
- name: Upload coverage reports to Codecov
22+
uses: codecov/codecov-action@v4
23+
with:
24+
token: ${{ secrets.CODECOV_TOKEN }}
25+
slug: matlab-deep-learning/llms-with-matlab

0 commit comments

Comments
 (0)