diff --git a/.github/workflows/setup_matlab.yml b/.github/workflows/ci.yml similarity index 50% rename from .github/workflows/setup_matlab.yml rename to .github/workflows/ci.yml index 87a90ac..bef6c2e 100644 --- a/.github/workflows/setup_matlab.yml +++ b/.github/workflows/ci.yml @@ -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