diff --git a/.github/workflows/operation-test-with-jupyter.yml b/.github/workflows/operation-test-with-jupyter.yml index 290e3a2..923d5f2 100644 --- a/.github/workflows/operation-test-with-jupyter.yml +++ b/.github/workflows/operation-test-with-jupyter.yml @@ -46,7 +46,7 @@ jobs: service-under-test: image: ${{ inputs.image }} env: - DEFAULT_MODEL: "MaziyarPanahi/Meta-Llama-3-8B-Instruct-GGUF" + DEFAULT_MODEL: "MaziyarPanahi/Meta-Llama-3-8B-Instruct-GGUF" ports: - ${{ inputs.port-mapping || format('{0}:{1}', inputs.port, inputs.port) }} diff --git a/.github/workflows/test-with-ezlocalai.yml b/.github/workflows/test-with-ezlocalai.yml index 4af2e7f..d65c4ee 100644 --- a/.github/workflows/test-with-ezlocalai.yml +++ b/.github/workflows/test-with-ezlocalai.yml @@ -1,4 +1,4 @@ -name: Test with ezLocalai +name: Test with ezlocalai on: workflow_call: inputs: @@ -10,6 +10,10 @@ on: image: type: string required: true + port: + type: string + port-mapping: + type: string image-options: type: string description: like --entrypoint, --command @@ -43,9 +47,9 @@ jobs: service-under-test: image: ${{ inputs.image }} env: - DEFAULT_MODEL: "MaziyarPanahi/Meta-Llama-3-8B-Instruct-GGUF" + DEFAULT_MODEL: "MaziyarPanahi/Meta-Llama-3-8B-Instruct-GGUF" ports: - - 8091:8091 + - ${{ inputs.port-mapping || format('{0}:{1}', inputs.port, inputs.port) }} steps: - uses: actions/setup-python@v5