-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from matlab-deep-learning/activate-code-coverage
Activate code coverage
- Loading branch information
Showing
1 changed file
with
12 additions
and
4 deletions.
There are no files selected for viewing
16 changes: 12 additions & 4 deletions
16
.github/workflows/setup_matlab.yml → .github/workflows/ci.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,25 @@ | ||
name: Run MATLAB Tests on GitHub-Hosted Runner | ||
on: [push] | ||
jobs: | ||
my-job: | ||
test: | ||
name: Run MATLAB Tests and Generate Artifacts | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
- name: Set up MATLAB | ||
uses: matlab-actions/setup-matlab@v1 | ||
uses: matlab-actions/setup-matlab@v2 | ||
with: | ||
products: Text_Analytics_Toolbox | ||
cache: true | ||
- name: Run tests and generate artifacts | ||
uses: matlab-actions/run-tests@v1 | ||
uses: matlab-actions/run-tests@v2 | ||
with: | ||
test-results-junit: test-results/results.xml | ||
code-coverage-cobertura: code-coverage/coverage.xml | ||
source-folder: . | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
slug: matlab-deep-learning/llms-with-matlab |