From bd5475c8bc14ce29998fc9991e3b60e2f4636eeb Mon Sep 17 00:00:00 2001 From: Liora Milbaum Date: Tue, 2 Apr 2024 15:23:22 +0300 Subject: [PATCH] scheduled workflow for testing Signed-off-by: Liora Milbaum --- .github/workflows/model_servers.yaml | 2 ++ .github/workflows/testing-framework.yaml | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 .github/workflows/testing-framework.yaml diff --git a/.github/workflows/model_servers.yaml b/.github/workflows/model_servers.yaml index 428ae0d30..f11f47ec2 100644 --- a/.github/workflows/model_servers.yaml +++ b/.github/workflows/model_servers.yaml @@ -47,6 +47,8 @@ jobs: - name: Set up Python uses: actions/setup-python@v5.0.0 + with: + python-version: '3.11' - name: Install python dependencies working-directory: ./model_servers/llamacpp_python/ diff --git a/.github/workflows/testing-framework.yaml b/.github/workflows/testing-framework.yaml new file mode 100644 index 000000000..fc8cf5fc9 --- /dev/null +++ b/.github/workflows/testing-framework.yaml @@ -0,0 +1,18 @@ +name: Testing Framework + +on: + schedule: # schedule the job to run at 12 AM daily + - cron: '0 0 * * *' + +env: + REGISTRY: ghcr.io + +jobs: + build-and-push-image: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4.1.1 + + - uses: hashicorp/setup-terraform@v3.0.0 + with: + terraform_version: "1.7.5"