From 5423f10f17f2f6b1cd7783d1863c03c20ed5aba7 Mon Sep 17 00:00:00 2001 From: gitsrc <34047788+gitsrc@users.noreply.github.com> Date: Mon, 8 Jul 2024 09:58:32 +0800 Subject: [PATCH 1/4] feat(cicd):upgrade llms ci Signed-off-by: gitsrc <34047788+gitsrc@users.noreply.github.com> --- .github/workflows/{go.yml => build.yml} | 0 .github/workflows/test.yml | 29 +++++++++++++++++++++++++ 2 files changed, 29 insertions(+) rename .github/workflows/{go.yml => build.yml} (100%) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/go.yml b/.github/workflows/build.yml similarity index 100% rename from .github/workflows/go.yml rename to .github/workflows/build.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..a10ae99 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,29 @@ +on: + push: + branches: + - main + pull_request: + branches: + - main + +name: Test +jobs: + test_llms: + strategy: + matrix: + go-version: [1.22.x] + os: [ubuntu-latest] + runs-on: ${{ matrix.os }} +# env: +# KEY: VALUE + steps: + - name: start weaviate + run: docker run -p 18080:8080 semitechnologies/weaviate:latest + - name: Install Go + uses: actions/setup-go@v5 + with: + go-version: ${{ matrix.go-version }} + - name: Checkout code + uses: actions/checkout@v4 + - name: Test + run: go test -v --v ./llmsframe/embeddings \ No newline at end of file From 6ab16968069eb06fe7299655a6c50a538073ffd9 Mon Sep 17 00:00:00 2001 From: gitsrc <34047788+gitsrc@users.noreply.github.com> Date: Mon, 8 Jul 2024 10:02:26 +0800 Subject: [PATCH 2/4] feat(cicd):upgrade llms ci Signed-off-by: gitsrc <34047788+gitsrc@users.noreply.github.com> --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a10ae99..19982f7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,7 +18,7 @@ jobs: # KEY: VALUE steps: - name: start weaviate - run: docker run -p 18080:8080 semitechnologies/weaviate:latest + run: docker run -d --name weaviate -p 18080:8080 semitechnologies/weaviate:latest - name: Install Go uses: actions/setup-go@v5 with: From 549927d687e55b00eec82a0a2d2c2b86d54fa674 Mon Sep 17 00:00:00 2001 From: gitsrc <34047788+gitsrc@users.noreply.github.com> Date: Mon, 8 Jul 2024 10:04:54 +0800 Subject: [PATCH 3/4] feat(cicd):upgrade llms ci Signed-off-by: gitsrc <34047788+gitsrc@users.noreply.github.com> --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 19982f7..7344b3a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,4 +26,4 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - name: Test - run: go test -v --v ./llmsframe/embeddings \ No newline at end of file + run: go test -timeout 300s -v --v ./llmsframe/embeddings \ No newline at end of file From 952440a7e3d859e7bb90c31f7ec1c2a9692c980c Mon Sep 17 00:00:00 2001 From: gitsrc <34047788+gitsrc@users.noreply.github.com> Date: Mon, 8 Jul 2024 10:06:36 +0800 Subject: [PATCH 4/4] feat(cicd):upgrade llms ci Signed-off-by: gitsrc <34047788+gitsrc@users.noreply.github.com> --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7344b3a..d85282a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ on: name: Test jobs: - test_llms: + llmsframe_embeddings: strategy: matrix: go-version: [1.22.x]