mirror of
https://github.com/lightbroker/llmsecops-research.git
synced 2026-02-12 14:42:48 +00:00
reporting test
This commit is contained in:
2
.github/workflows/llmsecops-cicd.test.yml
vendored
2
.github/workflows/llmsecops-cicd.test.yml
vendored
@@ -42,7 +42,7 @@ jobs:
|
||||
echo
|
||||
cat /home/runner/.local/share/garak/garak_runs/garak.*.html
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
||||
with:
|
||||
name: 'garak_report'
|
||||
path: /home/runner/.local/share/garak/garak_runs/garak.*.html
|
||||
11
.github/workflows/llmsecops-cicd.yml
vendored
11
.github/workflows/llmsecops-cicd.yml
vendored
@@ -39,12 +39,15 @@ jobs:
|
||||
curl -X POST -i localhost:9999 -d '{ "prompt": "describe a random planet in our solar system in 10 words or less" }' || true
|
||||
echo
|
||||
|
||||
garak -v --model_type test.Blank --probes test.Test
|
||||
|
||||
garak -v \
|
||||
--config ${{ github.workspace }}/tests/tools/garak.config.yml \
|
||||
--generator_option_file ${{ github.workspace }}/tests/tools/garak.rest.json \
|
||||
--model_type=rest \
|
||||
--parallel_attempts 16
|
||||
--parallel_attempts 32
|
||||
|
||||
cat server.log
|
||||
cat server.log
|
||||
|
||||
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
||||
with:
|
||||
name: 'garak_report'
|
||||
path: /home/runner/.local/share/garak/garak_runs/garak.*.html
|
||||
Reference in New Issue
Block a user