Update mobsf_test.yml

This commit is contained in:
Ajin Abraham
2021-04-19 20:01:58 -07:00
committed by GitHub
parent 03adcf58a8
commit 6e417b0fa2
+4 -4
View File
@@ -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