mirror of
https://github.com/MobSF/Mobile-Security-Framework-MobSF.git
synced 2026-10-12 02:06:59 +00:00
Update mobsf_test.yml
This commit is contained in:
@@ -25,6 +25,10 @@ jobs:
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Lint
|
||||
run: |
|
||||
python -m pip install --upgrade pip tox
|
||||
tox -e lint
|
||||
- name: Install Ubuntu Dependencies
|
||||
if: startsWith(matrix.os, 'ubuntu')
|
||||
run: |
|
||||
@@ -42,16 +46,12 @@ jobs:
|
||||
choco install wkhtmltopdf --version 0.12.6
|
||||
- name: Install Python dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip tox
|
||||
pip install --use-deprecated=legacy-resolver -r requirements.txt
|
||||
- name: Migrate Database
|
||||
run: |
|
||||
python manage.py makemigrations
|
||||
python manage.py makemigrations StaticAnalyzer
|
||||
python manage.py migrate
|
||||
- name: Lint
|
||||
run: |
|
||||
tox -e lint
|
||||
- name: Unit Tests
|
||||
run: |
|
||||
git submodule update --init --recursive
|
||||
|
||||
Reference in New Issue
Block a user