-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Caroline Russell <[email protected]>
- Loading branch information
1 parent
35d9f41
commit e2367f6
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |