mirror of
https://github.com/lightbroker/llmsecops-research.git
synced 2026-06-09 00:13:55 +02:00
run server
This commit is contained in:
@@ -32,17 +32,17 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
python -m src.api.controller &
|
||||
curl -s http://localhost:9998/ > /dev/null 2>&1
|
||||
|
||||
|
||||
- name: 'set up garak'
|
||||
run: |
|
||||
pip install garak
|
||||
|
||||
|
||||
- name: 'run garak tests'
|
||||
working-directory: ${{ github.workspace }}/src/tools
|
||||
shell: bash
|
||||
run: |
|
||||
curl -s http://localhost:9998/ > /dev/null 2>&1
|
||||
|
||||
garak -v \
|
||||
--config ${{ github.workspace }}/src/tools/garak.config.yml \
|
||||
--generator_option_file ${{ github.workspace }}/src/tools/garak.rest.llm.json \
|
||||
|
||||
Reference in New Issue
Block a user