Skip to content

Add --disable_carvers flag to disable Bulk Extractor file carving #55

Add --disable_carvers flag to disable Bulk Extractor file carving

Add --disable_carvers flag to disable Bulk Extractor file carving #55

Workflow file for this run

---
name: "Test"
on:
pull_request:
push:
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: True
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- name: Check out repository
uses: "actions/checkout@v2"
- name: Set up Python ${{ matrix.python-version }}
uses: "actions/setup-python@v3"
with:
python-version: "${{ matrix.python-version }}"
- name: Install homebrew
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)
test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile
echo "::add-path::/home/linuxbrew/.linuxbrew/bin"
brew --version
- name: Install siegfried
run: |
brew install richardlehane/digipres/siegfried
- name: Install ClamAV
run: |
sudo apt-get update && sudo apt-get install clamav
sudo systemctl stop clamav-freshclam.service
sudo freshclam
- name: Install tree
run: |
sudo apt-get install tree
- name: Install disktype
run: |
brew install disktype
- name: Install md5deep
run: |
brew install md5deep
- name: Install sleuthkit
run: |
brew install sleuthkit
- name: Install bulk_extractor
run: |
brew install bulk_extractor
- name: Get pip cache dir
id: "pip-cache"
run: |
echo "::set-output name=dir::$(pip cache dir)"
- name: Cache pip packages
uses: "actions/cache@v2"
with:
path: "${{ steps.pip-cache.outputs.dir }}"
key: "${{ runner.os }}-pip-${{ hashFiles('**/test.txt') }}"
restore-keys: |
${{ runner.os }}-pip-
- name: Install pip requirements
run: |
python -m pip install --upgrade pip
pip install -r requirements/test.txt
- name: Run tests
run: |
python test.py