From 32c134004950578d0e1251aff2bea481c05e2d79 Mon Sep 17 00:00:00 2001 From: Adam Wilson Date: Mon, 19 May 2025 07:31:32 -0600 Subject: [PATCH] test and debug response --- .github/workflows/llmsecops-cicd.llm.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/llmsecops-cicd.llm.yml b/.github/workflows/llmsecops-cicd.llm.yml index 8ab351c05..1bbc43fe8 100644 --- a/.github/workflows/llmsecops-cicd.llm.yml +++ b/.github/workflows/llmsecops-cicd.llm.yml @@ -22,12 +22,6 @@ jobs: run: | pip install -r ${{ github.workspace }}/requirements.txt - - name: 'run HTTP server' - working-directory: ${{ github.workspace }} - shell: bash - run: | - nohup python -m src.api.controller & - - name: 'set up Microsoft Phi-3 Mini 4k LLM from HuggingFace' run: | pip install huggingface-hub[cli] @@ -37,10 +31,13 @@ jobs: run: | pip install garak - - name: 'run REST API health check and garak tests' + - name: 'run REST API, health check, and garak tests' working-directory: ${{ github.workspace }} shell: bash run: | + nohup python -m src.api.controller & + wait + curl -i http://localhost:9999/ echo "Making API request..."