From 52975bcb0cc695aa95e0b6d333d4cfb84c3f4284 Mon Sep 17 00:00:00 2001 From: Christopher Creutzig <89011131+ccreutzi@users.noreply.github.com> Date: Thu, 15 Aug 2024 16:08:08 +0200 Subject: [PATCH 1/2] Change CI workflow to work on internal GitHub use mw-actions instead of matlab-actions disable codecov for the moment runs on: self-hosted Use MATLAB batch licensing token Request larger machine, ollama needs to have more than 5GB of memory --- .github/workflows/ci.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6be9f48..d7f6227 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ on: [push] jobs: test: name: Run MATLAB Tests and Generate Artifacts - runs-on: ubuntu-latest + runs-on: [self-hosted, runner-source=AWS, CORE008] steps: - name: Check out repository uses: actions/checkout@v4 @@ -33,7 +33,7 @@ jobs: ollama pull moondream OLLAMA_HOST=127.0.0.1:11435 ollama pull qwen2:0.5b - name: Set up MATLAB - uses: matlab-actions/setup-matlab@v2 + uses: mw-actions/matlab-actions-setup-matlab@v2 with: products: Text_Analytics_Toolbox cache: true @@ -45,13 +45,9 @@ jobs: AZURE_OPENAI_ENDPOINT: ${{ secrets.AZURE_ENDPOINT }} AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_KEY }} SECOND_OLLAMA_ENDPOINT: 127.0.0.1:11435 - uses: matlab-actions/run-tests@v2 + MLM_LICENSE_TOKEN: ${{ secrets.MATLAB_TOKEN }} + uses: mw-actions/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 From df07a9b7f009b802e10358118a349f9e68c63edb Mon Sep 17 00:00:00 2001 From: Christopher Creutzig <89011131+ccreutzi@users.noreply.github.com> Date: Mon, 26 Aug 2024 08:21:52 +0200 Subject: [PATCH 2/2] Include user names on second CI server --- .github/CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index cf5aa55..a90df09 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,4 +1,4 @@ # Code owners, to get auto-filled reviewer lists # To start with, we just assume everyone in the core team is included on all reviews -* @adulai @ccreutzi @debymf @MiriamScharnke @vpapanasta \ No newline at end of file +* @adulai @ccreutzi @debymf @MiriamScharnke @vpapanasta @dferreir @mscharnk @vpapanas \ No newline at end of file