From 84f47ece7a16ec634ed51b477c8d4abfd20c72cd Mon Sep 17 00:00:00 2001 From: Caroline Russell Date: Thu, 15 Feb 2024 17:19:32 -0500 Subject: [PATCH] Add repotests.yml. Signed-off-by: Caroline Russell --- .github/workflows/repotests.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/repotests.yml diff --git a/.github/workflows/repotests.yml b/.github/workflows/repotests.yml new file mode 100644 index 0000000..ee6b6cc --- /dev/null +++ b/.github/workflows/repotests.yml @@ -0,0 +1,28 @@ +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: /home/runner/work/juicy_malware + - name: Test + run: | + poetry run blint -i /home/runner/work/juicy_malware -o /home/runner/work/reports + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: reports + path: /home/runner/work/reports \ No newline at end of file