changes to support running mock tests

This commit is contained in:
Blake Harnden 2019-10-30 15:44:57 -07:00
parent 79dfbaa3ec
commit a33c8046f5

View file

@ -17,6 +17,8 @@ jobs:
pip install pipenv pip install pipenv
cd daemon cd daemon
cp setup.py.in setup.py cp setup.py.in setup.py
cp core/constants.py.in core/constants.py
sed -i 's/True/False/g' core/constants.py
pipenv install --dev pipenv install --dev
- name: isort - name: isort
run: | run: |
@ -30,3 +32,11 @@ jobs:
run: | run: |
cd daemon cd daemon
pipenv run flake8 pipenv run flake8
- name: grpc
run: |
cd daemon/proto
pipenv run python -m grpc_tools.protoc -I . --python_out=.. --grpc_python_out=.. core/api/grpc/core.proto
- name: test
run: |
cd daemon
pipenv run test --mock