Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ostefano committed Aug 15, 2024
1 parent 1bdb24c commit 46d9b96
Show file tree
Hide file tree
Showing 13 changed files with 5,719 additions and 4,137 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
- name: Compile and install yara
run: |
sudo apt-get install automake libtool make gcc pkg-config
wget https://github.com/VirusTotal/yara/archive/refs/tags/v4.5.0.tar.gz
tar xzf *.tar.gz
wget https://github.com/VirusTotal/yara/archive/refs/tags/v4.5.0.tar.gz -O yara.tar.gz
tar xzf yara.tar.gz
pushd yara-*
./bootstrap.sh
./configure
Expand All @@ -38,15 +38,10 @@ jobs:
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
pip install pipenv
sed -i "s/python_version.*/python_version = \"${{ matrix.python-version }}\"/" Pipfile
pipenv lock
pipenv requirements > requirements.txt
# pyfaul must be installed manually (?)
pip install -r requirements.txt pyfaup
pip install .
python -m pip install --upgrade pip poetry
poetry install
pip list
pip install flake8 pipenv pytest
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand All @@ -55,7 +50,7 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Run server in background
run: |
misp-modules -l 127.0.0.1 -s 2>error.log &
poetry run misp-modules -l 127.0.0.1 -s 2>error.log &
sleep 3
- name: Check if server is running
run: |
Expand Down
87 changes: 0 additions & 87 deletions Pipfile

This file was deleted.

3,645 changes: 0 additions & 3,645 deletions Pipfile.lock

This file was deleted.

188 changes: 0 additions & 188 deletions REQUIREMENTS

This file was deleted.

Loading

0 comments on commit 46d9b96

Please sign in to comment.