From acdcefed3a5e6673cad6b1c2ec42b3e2234c4d55 Mon Sep 17 00:00:00 2001 From: Vassilis Papanastasiou Date: Thu, 18 Apr 2024 15:14:27 +0100 Subject: [PATCH 1/3] Update setup_matlab.yml Try to extend setup_matlab.yml to support code coverage report generation --- .github/workflows/setup_matlab.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/setup_matlab.yml b/.github/workflows/setup_matlab.yml index 87a90ac..00c11b0 100644 --- a/.github/workflows/setup_matlab.yml +++ b/.github/workflows/setup_matlab.yml @@ -15,3 +15,6 @@ jobs: test-results-junit: test-results/results.xml code-coverage-cobertura: code-coverage/coverage.xml source-folder: . + - uses: codecov/codecov-action@v4 + with: + file: coverage.xml From 97097da7fb7804dbf09467d8e9c622c300c20238 Mon Sep 17 00:00:00 2001 From: Vassilis Papanastasiou Date: Thu, 18 Apr 2024 16:31:50 +0100 Subject: [PATCH 2/3] Update setup_matlab.yml Try to connect with Codecov updating setup_matlab.yml --- .github/workflows/setup_matlab.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/setup_matlab.yml b/.github/workflows/setup_matlab.yml index 00c11b0..d35e75a 100644 --- a/.github/workflows/setup_matlab.yml +++ b/.github/workflows/setup_matlab.yml @@ -18,3 +18,8 @@ jobs: - uses: codecov/codecov-action@v4 with: file: coverage.xml + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v4.0.1 + with: + token: ${{ secrets.CODECOV_TOKEN }} + slug: matlab-deep-learning/llms-with-matlab From b411f303a0ee194a58094c8f700d6a9eceadf9e4 Mon Sep 17 00:00:00 2001 From: mcafaro Date: Thu, 18 Apr 2024 15:16:50 -0400 Subject: [PATCH 3/3] Update actions to latest versions --- .github/workflows/{setup_matlab.yml => ci.yml} | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) rename .github/workflows/{setup_matlab.yml => ci.yml} (70%) diff --git a/.github/workflows/setup_matlab.yml b/.github/workflows/ci.yml similarity index 70% rename from .github/workflows/setup_matlab.yml rename to .github/workflows/ci.yml index d35e75a..bef6c2e 100644 --- a/.github/workflows/setup_matlab.yml +++ b/.github/workflows/ci.yml @@ -1,25 +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: . - - uses: codecov/codecov-action@v4 - with: - file: coverage.xml - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v4.0.1 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} slug: matlab-deep-learning/llms-with-matlab