Skip to content

Commit 9a5ee8a

Browse files
committed
Update smoke_test.yml
1 parent 4b50d8a commit 9a5ee8a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/smoke_test.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,35 +41,35 @@ jobs:
4141
python -m pip install --upgrade pipenv wheel
4242
4343
- name: Install dependencies
44-
run: |
44+
- run: |
4545
pipenv install --dev --skip-lock
4646
pipenv install pytest-cov ciphey frida --skip-lock
4747
pip install meson==0.62.0 ninja
4848
if: matrix.os != 'windows-latest'
49-
run: |
49+
- run: |
5050
python -m pipenv install --dev --skip-lock
5151
python -m pipenv install pytest-cov ciphey frida --skip-lock
5252
python -m pip install meson==0.62.0 ninja
5353
if: matrix.os == 'windows-latest'
5454
55-
run: sudo apt-get -y install graphviz ninja-build
55+
- run: sudo apt-get -y install graphviz ninja-build
5656
if: matrix.os == 'ubuntu-latest'
57-
run: brew install graphviz ninja
57+
- run: brew install graphviz ninja
5858
if: matrix.os == 'macOS-latest'
59-
run: choco install graphviz ninja
59+
- run: choco install graphviz ninja
6060
if: matrix.os == 'windows-latest'
6161

6262
# Download the latest rule set
6363
- name: Download rule from https://github.com/quark-engine/quark-rules
64-
run: pipenv run freshquark
64+
- run: pipenv run freshquark
6565
if: matrix.os != 'windows-latest'
66-
run: python -m pipenv run freshquark
66+
- run: python -m pipenv run freshquark
6767
if: matrix.os == 'windows-latest'
6868

6969

7070
# Runs a set of commands using the quark-engine
7171
- name: Run a multi-line script
72-
run: |
72+
- run: |
7373
pipenv run quark --help
7474
git clone https://github.com/quark-engine/apk-malware-samples
7575
pipenv run quark -a apk-malware-samples/14d9f1a92dd984d6040cc41ed06e273e.apk -s
@@ -79,7 +79,7 @@ jobs:
7979
pipenv run quark -a apk-malware-samples/14d9f1a92dd984d6040cc41ed06e273e.apk -s -c
8080
if: matrix.os != 'windows-latest'
8181
82-
run: |
82+
- run: |
8383
python -m pipenv run quark --help
8484
git clone https://github.com/quark-engine/apk-malware-samples
8585
python -m pipenv run quark -a apk-malware-samples/14d9f1a92dd984d6040cc41ed06e273e.apk -s
@@ -91,13 +91,13 @@ jobs:
9191
9292
- name: Check Accuracy
9393
shell: bash
94-
run: |
94+
- run: |
9595
echo "Ahmyth_RESULT=$(pipenv run quark -a apk-malware-samples/Ahmyth.apk -s -t 100 | grep 100% | wc -l | awk '{print $1}')" >> $GITHUB_ENV
9696
echo "a4db_RESULT=$(pipenv run quark -a apk-malware-samples/13667fe3b0ad496a0cd157f34b7e0c991d72a4db.apk -s -t 100 | grep 100% | wc -l | awk '{print $1}')" >> $GITHUB_ENV
9797
echo "e273e_RESULT=$(pipenv run quark -a apk-malware-samples/14d9f1a92dd984d6040cc41ed06e273e.apk -s -t 100 | grep 100% | wc -l | awk '{print $1}')" >> $GITHUB_ENV
9898
if: matrix.os != 'windows-latest'
9999
100-
run: |
100+
- run: |
101101
echo "Ahmyth_RESULT=$(python -m pipenv run quark -a apk-malware-samples/Ahmyth.apk -s -t 100 | grep 100% | wc -l | awk '{print $1}')" >> $GITHUB_ENV
102102
echo "a4db_RESULT=$(python -m pipenv run quark -a apk-malware-samples/13667fe3b0ad496a0cd157f34b7e0c991d72a4db.apk -s -t 100 | grep 100% | wc -l | awk '{print $1}')" >> $GITHUB_ENV
103103
echo "e273e_RESULT=$(python -m pipenv run quark -a apk-malware-samples/14d9f1a92dd984d6040cc41ed06e273e.apk -s -t 100 | grep 100% | wc -l | awk '{print $1}')" >> $GITHUB_ENV

0 commit comments

Comments
 (0)