Skip to content

Commit 8506d2d

Browse files
Update tests setup to download community repo's 7zz binary
1 parent 93679df commit 8506d2d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/actions/python-setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ runs:
1212
if: ${{ runner.os == 'Linux' }}
1313
shell: bash
1414
run: |
15-
sudo apt update && sudo apt-get install -y --no-install-recommends libxml2-dev libxslt-dev python3-dev libgeoip-dev ssdeep libfuzzy-dev 7zip innoextract unrar upx
15+
sudo apt update && sudo apt-get install -y --no-install-recommends libxml2-dev libxslt-dev python3-dev libgeoip-dev ssdeep libfuzzy-dev innoextract unrar upx
1616
1717
- name: Install poetry
1818
shell: bash

.github/workflows/python-package.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ jobs:
3232
with:
3333
python-version: ${{ matrix.python-version }}
3434

35+
- name: Setup 7zz binary
36+
run: |
37+
mkdir -p data/
38+
wget -q https://github.com/CAPESandbox/community/raw/master/data/7zz -O data/7zz
39+
chmod +x data/7zz
40+
3541
- name: Install pyattck
3642
run: |
3743
poetry run pip install git+https://github.com/CAPESandbox/pyattck maco

0 commit comments

Comments
 (0)