test2
This commit is contained in:
parent
d81a23ec95
commit
fc4bb8a23b
|
@ -18,10 +18,17 @@ jobs:
|
|||
steps:
|
||||
|
||||
- script: |
|
||||
psql -c 'DROP DATABASE IF EXISTS pipeline;' -U postgres
|
||||
psql -c 'CREATE DATABASE pipeline;' -U postgres
|
||||
|
||||
rm -rf /home/steam/myagent/_work/1/s/api/env
|
||||
cd /home/steam/myagent/_work/1/s/api
|
||||
python3.7 -m venv env
|
||||
source env/bin/activate
|
||||
python --version
|
||||
cd /home/steam/myagent/_work/1/s/api/tacticalrmm
|
||||
pip install --upgrade pip
|
||||
pip install -r requirements-test.txt
|
||||
python manage.py test -v 2
|
||||
deactivate
|
||||
python --version
|
||||
displayName: 'Run Tests'
|
||||
displayName: 'Install Dependencies and Run Tests'
|
Loading…
Reference in New Issue