Skip to content

Commit

Permalink
Merge pull request #26 from matlab-deep-learning/activate-code-coverage
Browse files Browse the repository at this point in the history
Activate code coverage
  • Loading branch information
vpapanasta authored Apr 24, 2024
2 parents 3d35464 + 55bd605 commit 8a65172
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/setup_matlab.yml → .github/workflows/ci.yml
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

0 comments on commit 8a65172

Please sign in to comment.