Skip to content

Add repotests.yml.

Add repotests.yml. #5

Workflow file for this run

name: Repo tests
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install blint
run: |
python -m pip install poetry
poetry install
- uses: actions/checkout@v4
with:
repository: juice-shop/juicy-malware
path: juicy_malware
- name: Test
env:
SCAN_DEBUG_MODE: debug
run: |
poetry run blint -i $GITHUB_WORKSPACE/juicy_malware -o $GITHUB_WORKSPACE/reports
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: reports
path: |
$GITHUB_WORKSPACE/reports
$GITHUB_WORKSPACE/juicy_malware/*.json