1
0
mirror of https://github.com/daniviga/bite.git synced 2025-04-20 22:41:18 +02:00

Run python check in parallel with django

This commit is contained in:
Daniele Viganò 2020-06-26 17:56:43 +02:00
parent e85d0bf5bd
commit ab7c10dcd1
Signed by: dani
GPG Key ID: DB49AFC03C40EE02

View File

@ -42,14 +42,15 @@ jobs:
- docker-compose -f docker/docker-compose.yml up -d - docker-compose -f docker/docker-compose.yml up -d
script: script:
- docker-compose -f docker/docker-compose.yml exec bite python manage.py test - docker-compose -f docker/docker-compose.yml exec bite python manage.py test
- stage: django
env: python
install:
- pip3 -q install flake8
script:
- flake8 bite --exclude migrations,settings.py
- <<: *iot-simulator - <<: *iot-simulator
env: IOT_TL=http env: IOT_TL=http
- <<: *iot-simulator - <<: *iot-simulator
env: IOT_TL=mqtt env: IOT_TL=mqtt
- <<: *iot-simulator - <<: *iot-simulator
env: IOT_TL=ws env: IOT_TL=ws
- stage: python
install:
- pip3 -q install flake8
script:
- flake8 bite --exclude migrations,settings.py