Skip to content

Commit

Permalink
Add repotests.yml.
Browse files Browse the repository at this point in the history
Signed-off-by: Caroline Russell <[email protected]>
  • Loading branch information
cerrussell committed Feb 15, 2024
1 parent 35d9f41 commit e2367f6
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/repotests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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/blint/juicy_malware -o $GITHUB_WORKSPACE/blint/reports
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: reports
path: |
$GITHUB_WORKSPACE/blint/reports
$GITHUB_WORKSPACE/blint/juicy_malware/*.json

0 comments on commit e2367f6

Please sign in to comment.