From 1c8d71ff0cebcbbbb18107ce74cde7e4395c1247 Mon Sep 17 00:00:00 2001 From: Adam Wilson Date: Mon, 19 May 2025 06:21:47 -0600 Subject: [PATCH] change step order --- .github/workflows/llmsecops-cicd.llm.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/llmsecops-cicd.llm.yml b/.github/workflows/llmsecops-cicd.llm.yml index 746dcda35..41943c54e 100644 --- a/.github/workflows/llmsecops-cicd.llm.yml +++ b/.github/workflows/llmsecops-cicd.llm.yml @@ -22,22 +22,22 @@ jobs: run: | pip install -r ${{ github.workspace }}/requirements.txt + - name: 'run HTTP server' + working-directory: ${{ github.workspace }}/.github/workflows + shell: bash + run: | + python -m src.api.controller & + - name: 'set up Microsoft Phi-3 Mini 4k LLM from HuggingFace' run: | pip install huggingface-hub[cli] huggingface-cli download microsoft/Phi-3-mini-4k-instruct-onnx --include cpu_and_mobile/cpu-int4-rtn-block-32-acc-level-4/* --local-dir ${{ github.workspace }}/tests/llm - - name: 'run HTTP server and test REST API' - working-directory: ${{ github.workspace }}/.github/workflows - shell: bash - run: | - python -m src.api.controller & - - name: 'set up garak' run: | pip install garak - - name: 'run garak tests' + - name: 'run REST API health check and garak tests' working-directory: ${{ github.workspace }}/src/tools shell: bash run: |